Subject: Re: Lost masterpwd.db
To: None <port-i386@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: port-i386
Date: 05/19/1997 11:08:15
In article <199705182243.TAA03299@borges.uol.com.br>,
danielh@uol.com.br writes:
> Until yesteray, all was working fine, but today, when I was trying to
> put some users in the masterpwd.db file,
I hope you didn't edit directly? "vipw" is the correct tool for such
things.
> Now the system reboots fine but when the
> password for root is asked I can't access the system anymore.
Boot to single user mode by enterning "-s" at the boot loader prompt.
If you didn't set the console to secure you'll be able to login. Type
"fsck -p" and "mount -av" afterwards and you should be able to maintain
your system.
--
Matthias Scheler http://home.pages.de/~tron/