Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 13:13:43 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Alexei Akimov <mitra@ukr.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /etc/master.passwd
Message-ID:  <19991121131343.A68180@dan.emsphone.com>
In-Reply-To: <000401bf3420$fa8cea00$1d481bac@intranet>; from mitra@ukr.net on Sun, Nov 21, 1999 at 03:04:32PM %2B0200
References:  <000401bf3420$fa8cea00$1d481bac@intranet>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 21), Alexei Akimov said:
> Hi!
> 
> Due to a power fail my FreeBSD was not properly shut down.
> When it was making a fsck check it deleted both /etc/passwd
> and /etc/master.passwd ;(((
> The only file, which left is /etc/spwd.db - is there any way how I
> can recover passwd and master.passwd ?

Check out /var/backups; you should have two previous copies of
master.passwd in there.  Rebuild the other files from that with
"pwd_mkdb /etc/master.passwd".

-- 
	Dan Nelson
	dnelson@emsphone.com


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?19991121131343.A68180>