How to recover root password
Craig White
craigwhite at azapple.com
Sat Aug 2 23:43:43 UTC 2008
On Sat, 2008-08-02 at 19:34 -0400, Ricky wrote:
> Hi,
>
> I had a root passwd which was so secure that even i cannot remember it
> now, lol!
>
> Can Someone help as to how i can recover it!!!!???
>
>
> Any suggestions???
----
No easy way to recover the password but easy enough to reset the
password to a new password.
restart
when grub bootloader displays on screen, press the letter 'e'
use the arrow keys to choose the line that starts kernel
press the letter 'e' to edit
add a 'space' and the number '1' to the end of the line
press enter to accept
press 'b' to boot in runlevel 1
when you get the prompt, you are root, type 'passwd'
enter and then confirm your new password
type 'telinit 5' to get back to runlevel 5
Craig
More information about the users
mailing list