From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 20 12:31:55 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 023A037B401 for ; Fri, 20 Jun 2003 12:31:55 -0700 (PDT) Received: from pop017.verizon.net (pop017pub.verizon.net [206.46.170.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 897B943FD7 for ; Fri, 20 Jun 2003 12:31:53 -0700 (PDT) (envelope-from mtm@identd.net) Received: from kokeb.ambesa.net ([138.88.125.205]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030620193152.VKCB27254.pop017.verizon.net@kokeb.ambesa.net>; Fri, 20 Jun 2003 14:31:52 -0500 Date: Fri, 20 Jun 2003 15:31:51 -0400 From: Mike Makonnen To: Evren Yurtesen In-Reply-To: References: <441xxoa9qx.fsf@be-well.ilk.org> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [138.88.125.205] at Fri, 20 Jun 2003 14:31:51 -0500 Message-Id: <20030620193152.VKCB27254.pop017.verizon.net@kokeb.ambesa.net> cc: bugs@freebsd.org Subject: Re: adduser bug X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 19:31:55 -0000 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 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 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