Date: Fri, 20 Jun 2003 15:31:51 -0400 From: Mike Makonnen <mtm@identd.net> To: Evren Yurtesen <eyurtese@tekniikka.turkuamk.fi> Cc: bugs@freebsd.org Subject: Re: adduser bug Message-ID: <20030620193152.VKCB27254.pop017.verizon.net@kokeb.ambesa.net> In-Reply-To: <Pine.A41.4.10.10306202222590.30834-100000@bessel.tekniikka.turkuamk.fi> References: <441xxoa9qx.fsf@be-well.ilk.org> <Pine.A41.4.10.10306202222590.30834-100000@bessel.tekniikka.turkuamk.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" Cheers -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030620193152.VKCB27254.pop017.verizon.net>