adduser bug

Mike Makonnen mtm at identd.net
Fri Jun 20 12:31:55 PDT 2003


The problem is with pw(8). That's where it should be solved.

On Fri, 20 Jun 2003 22:23:44 +0300 (WET)
Evren Yurtesen <eyurtese at tekniikka.turkuamk.fi> wrote:

> 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?
> > 
> 
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"


Cheers
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve


More information about the freebsd-bugs mailing list