[plug] Password Issue
Matt Kemner
zombie at penguincare.com.au
Mon Nov 18 21:01:24 WST 2002
On Mon, 18 Nov 2002, quoth Andre.Thomas at switch.aust.com:
> sulogin: cannot open passwd database
>
> Anyone know where I can go from here?
At the LILO prompt: linux init=/bin/bash
this should drop you into a root shell without using sulogin.
Once there, you do something like:
mount -n -o remount,rw /
<edit/fix the passwd files etc>
sync
mount -n -o remount,ro /
sync
/sbin/reboot -nf
This will remount the root file system read-write so you can edit the
appropriate files, and then mount it read-only again before rebooting.
(with a couple of sync's thrown in for good measure)
I find that easier than using a rescue disk, although that will work just
as well.
- Matt
More information about the plug
mailing list