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

Anthony Radzykewycz anthony.radzykewycz at gatewaycc.edu
Tue Dec 15 12:33:44 MST 2015


:-). Thank you for placing these steps in an easy to read way. Most
resources that I came across have the mounting built in to the GRUB booting
menu. I'll have to give this a try, sometime.

On Sat, Dec 12, 2015 at 2:36 PM, Michael Havens <bmike1 at gmail.com> wrote:

> 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~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20151215/7f90e343/attachment.html>


More information about the PLUG-discuss mailing list