Tuesday, July 21, 2009

IP-BAND

http://ipband.sourceforge.net/

Dowload it and install


ipband eth0 -f "net 10.0.0.0/8" -m 8 -a 3 -r 9

Rsync Script

REMOTE_USER=root
REMOTE_HOST=192.168.5.
REMOTE_PATH=/var/lib/mysql
LOCAL_PATH=/backup1/
KEY_FILE=mykey
COMMAND=`which ssh`
echo $COMMAND
rsync --delete -avvvz -e "$COMMAND -i $KEY_FILE" $REMOTE_USER@$REMOTE_HOST:$REMOTE_PATH $LOCAL_PATH

Monday, March 31, 2008

Password of the root user in ubuntu live cd

Do you need the root password of ubuntu live cd?.
One thing you do.You can reset it by applying command in the terminal

# sudo passwd root
Then it will prompt password then you can give the new password
(note:- though it is live cd, the password will not be permanent. So you have to reset by using above command at each time)