[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Locked out



> Does not single user mode inquires for root password?
> One alternative in case one forgets the root password is to use the rescue
> disk, go to the 2nd VT, mount / and clear the root password from
/etc/passwd
> or /etc/shadow as appropriate.
> Isn't there is a possibility to boot into sh?

Yes, if you use lilo, then you can at the boot prompt :

boot: linux init=/bin/sh




Reply to: