Friday, February 15, 2008

How to recover your boot password under Linux

you can recover using the following steps

Turn on computer

Press ESC at the grub prompt

Press e for edit

Highlight the line that begins kernel ………, press e

Go to the very end of the line, add rw init=/bin/bash

press enter, then press b to boot your system.

The system will boot up to a password-less root shell

Type in passwd username

Set your password

Type in reboot

That's it.... It's fixed...

No comments: