Date: Mon, 22 Oct 2012 20:52:31 GMT From: Jeff Lawson <jeff@bovine.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/172965: pw useradd does not allow -g "" Message-ID: <201210222052.q9MKqVW3022263@red.freebsd.org> Resent-Message-ID: <201210222100.q9ML00Bg094576@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210222052.q9MKqVW3022263>
