On Tue, 11 Nov 2003, Jonathan Dowland wrote:

> On Tue, Nov 11, 2003 at 10:18:19PM +0000, Colin Watson wrote:
>
> > Failing that, boot with the 'init=/bin/sh' parameter (so if you'd
> > normally type 'linux' to LILO, say, type 'linux init=/bin/sh' instead)
> > and run 'passwd root'.
>
> I found this out rather recently when I was reading the debian users'
> guide. When I lost my root password (it had a GBP-sign in it and my
> locales changed on an upgrade), I took the more long-winded approach of
> booting from a rescue disk and copying my users' hash over the top of
> the root one.
>
> It was a *lot* longer as I had to find a cd-rom drive and install it,
> too- needless to say I read the docs first now.
>
> --
> Jon Dowland
> http://jon.dowland.name/
>
>
> --
Hi,
>From my reading for the qref,
I just get the boot prompt, type 'linux s', and boot into single user
mode (root user). from there I can type 'passwd' to change the root
password. from there... either su joeuser or reboot.
-kev


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to