misc/172965: pw useradd does not allow -g ""
Jeff Lawson
jeff at bovine.net
Mon Oct 22 21:00:02 UTC 2012
>Number: 172965
>Category: misc
>Synopsis: pw useradd does not allow -g ""
>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: Mon Oct 22 21:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jeff Lawson
>Release: 9.1-PRERELEASE
>Organization:
>Environment:
FreeBSD sushi.hou.flightaware.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Fri Oct 19 02:12:36 UTC 2012 root at riata.hou.flightaware.com:/usr/obj/usr/src/sys/GENERIC-DTRACE amd64
>Description:
Man page for "pw" indicates that -g "" is an acceptable option:
-g group Set the default group for new users. If a blank group is
specified using -g "", then new users will be allocated
their own private primary group with the same name as their
login name. If a group is supplied, either its name or uid
may be given as an argument.
However, attempting to do that produces an error:
# pw useradd moo -g ""
pw: group `' is not defined
>How-To-Repeat:
pw useradd moo -g ""
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list