[conspire] Where is my Pwd?
Rick Moen
rick at linuxmafia.com
Sat Mar 27 11:03:23 PDT 2010
Quoting Tony Godshall (tony at of.net):
> On pretty much any distro, if you can break into the boot process
> and add a kernel arg, adding "init=/bin/bash" to the kernel parameters
> will bypass the usual initialization process (/sbin/init) and get
> you a root prompt. At that point you can set the password for
> joeuser like so:
>
> # /usr/bin/passwd joeuser
>
> If you don't even remember what your username was, you can
> cat /etc/passwd
>
> The above instructions may be too technical for you[...]
They're also a recipe for frustration, because you forgot that they'll
result in the root partition being initially mounted read-only. ;->
That's why I pointed Jose to the Ubuntu Web page on the subject, because
it's comprehensive on such matters.
More information about the conspire
mailing list