Recent Changes - Search:

Softwares

.

Forgot-root-Password-Recover-Linux-root-Password

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

Hide minor edits - Show changes to markup

April 12, 2009, at 12:39 PM by 118.95.6.52 -
Changed lines 3-5 from:
to:

Added lines 27-28:

Changed line 30 from:

(:Googlemmm:)

to:

(:Googletxt:)

February 09, 2008, at 02:27 PM by 15.219.201.70 -
Added line 1:

(:Google1:)

Changed line 25 from:
to:

(:Google1:)

January 24, 2008, at 07:37 PM by 117.97.18.222 -
Added line 18:
Added line 20:
Added line 22:
Deleted lines 24-25:
January 24, 2008, at 07:34 PM by 117.97.18.222 -
Added lines 1-24:

(:Googlemm:)

  • Forgot root password recover linux root password.

Solution:

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

(:Googlemmm:)

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