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

J B jb.1234abcd at gmail.com
Tue Oct 23 22:30:02 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: Wed, 24 Oct 2012 00:26:58 +0200

 What about 'pw usermod' ?
 
 Wow !
 I just tested (btw, without your patch):
 # pw usermod moo4 -g "nobody"
 # pw usermod moo4 -g ""
 Segmentation fault: 11 (core dumped)
 #
 
 I opened PR#:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=173005
 
 With regard to your changes:
 make sure you test 'pw useradd' and 'pw usermod' entries, both old and new
 (override with -g "") syntax, with "-N" option.
 
 jb


More information about the freebsd-bugs mailing list