[PLUG] I Screwed Up, So What Else Is New...

Russell Senior russell at personaltelco.net
Mon Jan 27 20:36:56 UTC 2014


>>>>> "Kirk" == Kirk Goins <kirkgoins at gmail.com> writes:

Kirk> When I boot to the Recovery Menu and take the root option it is
Kirk> prompting me for the root password to continue. I did a little
Kirk> more searching and it appears I can boot from a CD/DVD and get
Kirk> in that way.. I will try that this evening

If you can get to the bootloader (GRUB, probably) menu and edit the
kernel commandline, the traditional (maybe obsolete) technique was to
add something like init=/bin/bash, which would give you a root shell.
You might need to mount or remount filesystems and the like to get
write access to the /etc/passwd, /etc/shadow.  Apologies for
vagueness, it isn't an every day thing, so details are rusty.  But
that was the general approach.  The Live CD/DVD (or USB) should work
about the same.


-- 
Russell Senior, President
russell at personaltelco.net



More information about the PLUG mailing list