Date: Sun, 10 Nov 2002 13:35:53 -0600 From: "Jack L. Stone" <jackstone@sage-one.net> To: Dirk-Willem van Gulik <dirkx@webweaving.org>, "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: <3.0.5.32.20021110133553.00ec9908@mail.sage-one.net> In-Reply-To: <20021110202138.Q55127-100000@foem.leiden.webweaving.org> References: <20021110015003.GB93051@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 08:23 PM 11.10.2002 +0100, Dirk-Willem van Gulik wrote: > > >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 Just do your own script to run the backups you want..... that's all the other one(s) do.... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net 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?3.0.5.32.20021110133553.00ec9908>