How to recover root password
Linux HowTo's - Advance Linux HowTo's
Written by Allen Sanabria   
Sunday, 10 February 2008 00:28

Have you forgotten the root password on your box and said @#$%%^. Well do not fear, Linux Dynasty is here to save the day.

    • Booting into single user mode from GRUB.
    • First, reboot your system.
    • Second, When GRUB comes up type e (got to be quick).
    • Third, now select entry that begins with kernel and hit enter.
    • Fourth, at the end of the kernel entry type either s or single, now hit enter.
    • Fifth, type b, the box will boot up and now you can type in the cmd prompt passwd root. This will reset the password to whatever you like.
    • If this does not bring you to a root prompt, then try this.
    • Then try appending single init=/bin/bash



    Be happy, now you have root access again. or maybe for the first time... ;)

    • Booting into single-user mode from LILO
    • First, reboot your system.
    • Second, When LILO comes up, type in linux s. Hit enter.
    • Box will boot into single user mode, which brings you to a root prompt. If this does not happen to you, and ask you for the root password, you will have to do the following.
    • Try this linux init=/bin/bash


Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
Comments
Search RSS
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated on Wednesday, 14 May 2008 11:54