misc/172965: pw useradd does not allow -g ""

J B jb.1234abcd at gmail.com
Mon Oct 22 22:20:01 UTC 2012


The following reply was made to PR misc/172965; it has been noted by GNATS.

From: J B <jb.1234abcd at gmail.com>
To: bug-followup at FreeBSD.org, jeff at bovine.net
Cc:  
Subject: Re: misc/172965: pw useradd does not allow -g ""
Date: Tue, 23 Oct 2012 00:17:12 +0200

 And what that one-time override would be ?
 "" ? Impossible, it has to be a valid group (it goes to /etc/passwd).
 # pw useradd moo4
 # pw useradd moo5 -g nobody
 # pw useradd moo6 -g moo6
 pw: group `moo6' does not exist
 # pw useradd moo7 -g ""
 pw: group `' is not defined
 # grep -i moo /etc/passwd
 moo4:*:1003:1003:User &:/home/moo4:/bin/sh
 moo5:*:1004:65534:User &:/home/moo5:/bin/sh


More information about the freebsd-bugs mailing list