From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 20 12:23:50 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 6E53937B401 for ; Fri, 20 Jun 2003 12:23:50 -0700 (PDT) Received: from bessel.tekniikka.turkuamk.fi (bessel.tekniikka.turkuamk.fi [193.166.133.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C36643FAF for ; Fri, 20 Jun 2003 12:23:49 -0700 (PDT) (envelope-from eyurtese@bessel.tekniikka.turkuamk.fi) Received: from localhost (eyurtese@localhost) by bessel.tekniikka.turkuamk.fi (8.9.2/8.9.2) with ESMTP id WAA30082; Fri, 20 Jun 2003 22:23:44 +0300 Date: Fri, 20 Jun 2003 22:23:44 +0300 (WET) From: Evren Yurtesen To: Lowell Gilbert In-Reply-To: <441xxoa9qx.fsf@be-well.ilk.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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:23:50 -0000 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? >