Home | Store | Contact | Videos | Privacy Policy

How To Reset / Retrieve Linux Root Forgotten Passwords

No Comments » | This post was viewed 4866 times.

1. the first step is to reboot server.

2. Since the server i inherit has GRUB, wait until the grub splash screen comes on and hit the letter ‘e’ on your keyboard. this will stop grub.

http://www.abclinuxu.cz/images/clanky/prokop/grub.jpg

3. hit ‘e’ again and this will take you to another screen

4. you should see one of the choices has “kernel” select the one with “kernel

5. hit ‘e’ on your keyboard

6. type ‘ single’ (make sure to include a space before “single”) and hit enter. then enter ‘b’ to boot.

7. your system should boot up in single mode as root

8. now that you are logged in single mode you can chage the root password by sending this command:
     Code:

passwd

9. after you have changed the root password, reboot server and you should be able to login with the new password.

DONE

LILO —————————-

1. If you have LILO, its different, fist reboot server and when you see the LILO: prompt type “linux single” and hit enter. this will log you in as root in single user mode.

2. Once booting is complete, you can change your password with this command:
     Code:

passwd

and reboot server.


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply