Tuesday, July 31, 2007

How to telnet a linux pc as a root

To telnet a linux pc as a root foollow these instructions

By default it will not allow you telnet as a root

1. open this file /etc/securetty by typing the command vi /etc/securetty
2. write pts/0
3. pts/1
4. save and exit

thats it

Monday, July 30, 2007

CRACK REDHAT LINUX PASSWORD

To crack linux password follow these steps

1. start your pc
2. now press "e" button of the keyboard (keep on pressing it)
3. now you will see three lines ; go to the middle one and at last of this line write 1 and press enter
4. now press "b" to boot
5. now your system will boot in single user mode
6. now you are in the single user mode just type passwd command and press enter
7. now assign any password you like
8. thats it now write init 5 or init 3 to boot into the normal mode.

Sunday, July 29, 2007

How to solve grub error in redhat linux

1. first insert cd no. 1 of linux
2.type linux rescue
3.follow the screen instructions
4.write chroot /mnt/sysimage
4.type df -h

it will show you information like either hda2 or hdb or hdc or sda and so on

5.now type grub-install /dev/hda

you will see no errors reported
6. now type exit
7 again type exit
thats it