Date: Sun, 10 Nov 2002 20:23:13 +0100 (CET) From: Dirk-Willem van Gulik <dirkx@webweaving.org> To: "Greg 'groggy' Lehey" <grog@FreeBSD.ORG> Cc: joe <joe-dated-1037323668.d621ae@dubium.com>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Recovering /etc/passwd (was: REASON #7919 NOT to do things as root!) Message-ID: <20021110202138.Q55127-100000@foem.leiden.webweaving.org> In-Reply-To: <20021110015003.GB93051@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Nov 2002, Greg 'groggy' Lehey wrote: > # pwd_mkdb -p /etc/master.passwd > > /etc/passwd doesn't get used much any more. The real files are > /etc/pwd.db and /etc/spwd.db. See the man page for pwd_mkdb for more > details. And the files in /var/backups/ used by the periodic script have saved my bacon more than once. ls /var/backups aliases.bak group.bak master.passwd.bak aliases.bak2 group.bak2 master.passwd.bak2 One would almost wish that things like the /etc/rc.conf, named and *mc files where there too :-) Dw 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?20021110202138.Q55127-100000>