Jump to content


Photo
- - - - -

Lost root password (grub)


  • Please log in to reply
No replies to this topic

#1 Digerati

Digerati

    Linux-Noob Frequent Member

  • Members
  • PipPipPip
  • 119 posts

Posted 15 December 2003 - 05:31 PM

At the Grub boot menu hit "e"
Select the line that begins with "kernel"

Hit "e" again

Move the cursor to the end of the line and add " init=/bin/bash" then hit enter

Press "b" to boot the system

At the bash prompt that comes up, type the following: "mount /proc" then hit enter

next type "mount / -o rw,remount" then hit enter

next type "passwd" then hit enter

now enter your new password twice

You should receive a notice stating "All authentication tokens updated successfully". This confirms your password has been changed.

next type "mount / -o ro,remount" then hit enter

now press control-alt-delete to reboot

logon with new password to verify

Credit to Buddha and his LUG


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users