From owner-freebsd-questions Sun Nov 21 11:14: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id ADCF914D9E for ; Sun, 21 Nov 1999 11:13:54 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id NAA68542; Sun, 21 Nov 1999 13:13:43 -0600 (CST) (envelope-from dan) Date: Sun, 21 Nov 1999 13:13:43 -0600 From: Dan Nelson To: Alexei Akimov Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/master.passwd Message-ID: <19991121131343.A68180@dan.emsphone.com> References: <000401bf3420$fa8cea00$1d481bac@intranet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000401bf3420$fa8cea00$1d481bac@intranet>; from mitra@ukr.net on Sun, Nov 21, 1999 at 03:04:32PM +0200 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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