Date: Tue, 18 Apr 2000 18:44:17 +0100 From: <c.raven@ukonline.co.uk> To: <freebsd-questions@FreeBSD.ORG> Subject: vipw - pwd.db locked Message-ID: <009d01bfa95d$bd0f1c40$0200000a@cian.net>
next in thread | raw e-mail | index | archive | help
I made a real booboo. Whilst trying to change a user password on a FreeBSD 3.2 box (as root), I typed: #chpass <username> A vi session opened on this user which then dropped out. Now I can't access the /etc/pwd.db file via 'vipw' - I just get: vipw: the password db file is busy I can see a lockfile in there .......... '/etc/pw.C39454' But, even if I move it, the same error arises. How do I unlock my password file? Can I resume the session? #vi -r pw.C39454 Gives: 'No files named pw.C39454, readable by you, to recover' I have searched the mal archive but none of the answers in there match up with this problem. I also can't find an answer to this on any of the 'Vi' sites. This is really quite urgent as no user changes/additions/removals can now take place on this mahine :o( ! TIA, Chris R. P.S. Please CC me as I'm not currently subscribed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009d01bfa95d$bd0f1c40$0200000a>