On Saturday 13 October 2007 06:03, Glenn Holmer wrote:
> On Friday 12 October 2007 11:16, Jonathan Arnold wrote:
> > Recovering from a broken root password isn't really that hard. The
> > thing to do in the past is to boot into single user mode, but many
> > distros, openSUSE included, now ask for the root password even in
> > that case.
> >
> > Nowadays, you have to boot some Live CD, mount the partition
> > containing the /etc directory of the OS in question, and edit the
> > /etc/shadow file to remove root's password from the password field.
>
> You can just enter "init=/bin/sh" on the Boot Options line of the
> GRUB boot screen.  The system will boot straight into bash and you
> can use your favorite editor on /etc/shadow.

Technically, when invoked as /bin/sh, BASH operates in its Bourne Shell 
compatibility mode, which deprives you of many of BASH's innovations. 
Use /bin/bash to get full functionality.


> ...


Randall Schulz
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to