adduser bug

Evren Yurtesen eyurtese at tekniikka.turkuamk.fi
Fri Jun 20 12:23:50 PDT 2003


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 at 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?
> 



More information about the freebsd-bugs mailing list