Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 22:20:01 GMT
From:      J B <jb.1234abcd@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/172965: pw useradd does not allow -g &quot;&quot;
Message-ID:  <201210222220.q9MMK1Jk001466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/172965; it has been noted by GNATS.

From: J B <jb.1234abcd@gmail.com>
To: bug-followup@FreeBSD.org, jeff@bovine.net
Cc:  
Subject: Re: misc/172965: pw useradd does not allow -g &quot;&quot;
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



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