Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 22:23:44 +0300 (WET)
From:      Evren Yurtesen <eyurtese@tekniikka.turkuamk.fi>
To:        Lowell Gilbert <freebsd-bugs-local@be-well.no-ip.com>
Cc:        bugs@freebsd.org
Subject:   Re: adduser bug
Message-ID:  <Pine.A41.4.10.10306202222590.30834-100000@bessel.tekniikka.turkuamk.fi>
In-Reply-To: <441xxoa9qx.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Well you can try that, run adduser and start adding a user and stop where
it asks you for password. From another terminal add a user, then continue
entering password. You will end up having 2 users with the same UID.

Evren

On 20 Jun 2003, Lowell Gilbert wrote:

> Evren Yurtesen <eyurtese@tekniikka.turkuamk.fi> writes:
> 
> > I suspect that if 2 people try to use adduser script at the same time, the
> > new user added might have the same UID value. ( and probably GID )
> > Cant it be set so that the UID will be looked up from the password file
> > when the file is locked or something? So the other adduser user have to
> > wait until the file is free?
> 
> Isn't that the way it *already* works?
> 



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