Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 1996 03:13:29 -0700 (PDT)
From:      Jaye Mathisen  <mrcpu@cdsnet.net>
To:        Seppo Kallio <kallio@cc.jyu.fi>
Cc:        current@FreeBSD.org
Subject:   Re: Problems with useradd
Message-ID:  <Pine.NEB.3.95.960927031228.17459L-100000@mail.cdsnet.net>
In-Reply-To: <Pine.SOL.3.92.960927124903.29904X-100000@kanto.cc.jyu.fi>

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

Yes, I think there is some faulty file-locking going on here with the
various utilities.  It's trivial to reproduce, just get a few
passwd/vipw/chfn's/addusers going at once, and kaboom, this message.

So far I've always been able to just remove the master.passwd.orig, and
everything is still there, but it sucks the big one

On Fri, 27 Sep 1996, Seppo Kallio wrote:

> Date: Fri, 27 Sep 1996 12:51:21 +0300 (EET DST)
> From: Seppo Kallio <kallio@cc.jyu.fi>
> To: current@FreeBSD.org
> Subject: Problems with useradd
>=20
>=20
>=20
> In useradd I am getting error
>=20
> ``pwd_mkdb -p'' failed, try to restore ...
> pwd_mkdb: /etc/spwd.db.tmp: File exists
> Sorry, give up
>=20
> And when trying again, error message
>=20
> pwd_mkdb: /etc/master.passwd.orig: File exists
>=20
>=20
> The reason is clear: someone is changing passwd or some other way using
> pwd_mkdb.
>=20
>=20
> Seppo Kallio=09=09=09=09kallio@jyu.fi
> Computing Center=09=09=09Fax +358-14-603611
> U of Jyv=E4skyl=E4=09=0962.14N 25.44E=09Phone +358-14-603606
> PL 35, 40351 Jyv=E4skyl=E4, Finland=09=09http://www.jyu.fi/~kallio
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.960927031228.17459L-100000>