From owner-freebsd-bugs Wed Sep 11 10:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A06737B400 for ; Wed, 11 Sep 2002 10:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 560A243E4A for ; Wed, 11 Sep 2002 10:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8BHo2JU009825 for ; Wed, 11 Sep 2002 10:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8BHo25W009824; Wed, 11 Sep 2002 10:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B37D37B400 for ; Wed, 11 Sep 2002 10:45:09 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 354C043E3B for ; Wed, 11 Sep 2002 10:45:09 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8BHj8OT065861 for ; Wed, 11 Sep 2002 10:45:08 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g8BHj8wF065860; Wed, 11 Sep 2002 10:45:08 -0700 (PDT) Message-Id: <200209111745.g8BHj8wF065860@www.freebsd.org> Date: Wed, 11 Sep 2002 10:45:08 -0700 (PDT) From: "C.J." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/42663: pw useradd assigns unique UID's to multiple usernames Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42663 >Category: misc >Synopsis: pw useradd assigns unique UID's to multiple usernames >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 10:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: C.J. >Release: 4.6-STABLE >Organization: FRII >Environment: FreeBSD elara.frii.com 4.6-STABLE FreeBSD 4.6-STABLE #1: Thu Aug 1 16:42:36 MDT 2002 root@ma103.mailarmory.com:/u/frii/obj/u/frii/src/FreeBSD-4.x-STABLE/sys/ELARA i386 >Description: If pw useradd is run from different shells too close to one another(before the password file has a chance to finish rebuilding) both of those users get the same UID, but if you run pw useradd from the same shell back to back everything goes as it should and both users get different UID's. >How-To-Repeat: Run pw useradd "test123" -g "user" -c "" -m -h 0 from one shell and run pw useradd "test124" -g "user" -c "" -m -h 0 from a different shell simultaneously. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message