Home | About | Help Center | Privacy Policy

September 14th, 2007

How To Reset / Retrieve Linux Root Forgotten Passwords


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 trackbackfrom your own site.

Subscribe to our FREE Rss Feed

Hot in Social Media


10 Ways Social Media Can Help Your Business

10 Best Social Media Case Studies

10 Tips To Become Social Without Using Social Media

Top 10 Tips To Enhance Personal Branding

What's Hot

Similar Interesting Posts

Tutorials On

Leave a Reply

CommentLuv Enabled

Additional comments powered by BackType

    Follow @honeytech On Twitter

    @babychen Yeah, One can create Huffingtonpost with the help of WP, twicks, custom plugins & content structuring. ;P
  • Subscribe For Tips


  • Top Fans Of The Day

  • Sponsors Zone

Hot Tags

Linux mobile Windows Internet How to WordPress Plugin mistakes open source Designs Social media browser free ubuntu google tips Web design Firefox blogging Social iphone