Recent Changes - Search:




Main.Forgot-root-Password-Recover-Linux-root-Password History

Hide minor edits - Show changes to output

April 12, 2009, at 12:39 PM by -
Changed lines 3-5 from:
Added lines 27-28:

Changed line 30 from:
February 09, 2008, at 02:27 PM by -
Added line 1:
Changed line 25 from:
January 24, 2008, at 07:37 PM by -
Added line 18:
Added line 20:
Added line 22:
Deleted lines 24-25:
January 24, 2008, at 07:34 PM by -
Added lines 1-24:

*Forgot root password recover linux root password.


Boot into single usermode or boot using rescue disk.

If Grub is password protected then use the rescue disk, chroot /mnt/sysimage, then use the passwd command.

If Grub is not password protected, then you can login to single usermode by appending an "S" to the end of the kernel line that you have to boot. Select the kernel that you wish to boot with and press 'e'.

Now append an 'S' to the end of the line, press Return, and then 'b', once the system is booted into single usermode you can use the passwd command to reset the root password.

'''On debian base system''' you can use the following method

Choose the kernel you want to boot
Press "e" to edit
Press the "end" button type in a comma space ", " and then type "single"
Press <ENTER> and than "b" to boot that kernel, this will take into single user mode

Edit - History - Print - Recent Changes - Search
Page last modified on April 12, 2009, at 12:39 PM