Re: [Hampshire] ref root password recovery

Forside

Besvar denne besked
Skribent: Adrian Bridgett
Dato:  
Til: Hampshire LUG Discussion List
Emne: Re: [Hampshire] ref root password recovery
On Mon, Apr 30, 2007 at 15:14:39 +0100 (+0100), Luke Stutters wrote:
> Or, hold down shift when booting (or something else depending on your
> boot loader), look for a 'boot options/arguments' option and add the
> word single to the boot options. Then use the passwd command as above.


Note that this doesn't work on Debian - it still prompts you for the
password.

Better to add "init=/bin/sh" to the boot options - that works
everywhere (AFAIK).

Adrian