Monday, July 5, 2010

Forgot your root password ???

If you have forgotten the root password of your machine then no need to worry.

You can reset forgotten root password under Linux by booting system into single user mode or emergency mode (also known as rescue mode).

Just follow the Instructions to boot Linux Grub Boot Loader into single user mode::

1. At grub boot screen (after restart) , Select the Kernel.
2. Press the e key to edit the entry .
3. Select second line (the line starting with the word kernel).
4. Append the letter S (or word Single) to the end of the (kernel) line.
5. Press ENTER key.
6. Now press the b key to boot the Linux kernel into single user mode.
7. you will be promted a root shell.
8. type passwd root to change the root password.

Long live Open Source !!!

2 comments: