how-to: changing password if you lost/forgot it

Michael Havens bmike1 at gmail.com
Sat Dec 12 14:36:34 MST 2015


I was pretty amazed when someone brought this up and a solution exists. The
way I was taught is that if you lose your password you're done.

Just use GRUB to boot into single user mode / recovery mode.

(1) At grub boot screen (after restart)
(2) Select the kernel
(3) Press the 'e' key to edit the entry
(4) Select line starting with the word 'kernel' or 'linux'
(5) Append the letter 'S' (or word 'Single') to the end of the line
(5) Append 'init=/bin/sh' to that line also
(6) press cntrl-X
(7) mount the root filesystem if it isn't already done for you
(8) type 'passwd <enter>' to reset the root password
(8) type 'passwd <user> <enter>' to reset user's password.

http://www.debuntu.org/how-to-recover-root-password-under-linux-with-single-user-mode/

-- 
:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20151212/05adfe13/attachment.html>


More information about the PLUG-discuss mailing list