Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 10:45:08 -0700 (PDT)
From:      "C.J." <clayton@frii.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/42663: pw useradd assigns unique UID's to multiple usernames
Message-ID:  <200209111745.g8BHj8wF065860@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209111745.g8BHj8wF065860>