Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 20:51:09 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Problem with periodically done scripts
Message-ID:  <20030725195109.GA15296@catflap.home.slightlystrange.org>
In-Reply-To: <029501c352e2$ee31e640$2401010a@zone3000.net>
References:  <026301c352e2$097a4380$3501a8c0@pro.sk> <029501c352e2$ee31e640$2401010a@zone3000.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 25, 2003 at 10:28:30PM +0300, Vitali Malicky wrote:
>=20
>=20
> > It seems now, that my /etc/master.passwd is really broken.
> > Have anybody an idea, how to recreate it ?
>=20
> if you have a backup in /var/backups then you might extricate yourself of
> the situation. but there are backups only for two days...

I thought it was two edits' worth of backups?  As long as Peter hasn't made
more than two edits on the master file since the problem first occurred, he
should be OK.

Peter - if the backup copies were made before you first noticed the problem,
I think you can copy one of them back to /etc/master.passwd (but make a copy
of the current one first!) and run `vipw' to rebuild the database.

Dan

--=20
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/IYothvzwOpChvo8RAjtGAJ0RTLwI5npAytFCLJwuN6TvhNif/wCg1vRA
tJBbU2BSvEByPfr5mDBnoUI=
=d7qt
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030725195109.GA15296>