bin/187189: pw groupmod groupname -g ### creates duplicate groups

Adam McDougall mcdouga9 at egr.msu.edu
Sun Mar 2 05:10:00 UTC 2014


>Number:         187189
>Category:       bin
>Synopsis:       pw groupmod groupname -g ### creates duplicate groups
>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:   Sun Mar 02 05:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Adam McDougall
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD hostname 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
'pw groupmod www -g 12345' is expected to change the GID of www in /etc/group from 80 to 12345 like it does in 9.2-RELEASE, but instead it will create another duplicate of the www group with the new GID, causing conflicting information.  It can happen more than once.
>How-To-Repeat:
# grep www /etc/group
www:*:80

# pw groupmod www -g 12345
# grep www /etc/group
www:*:80:
www:*:12345:
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list