Date: Sun, 2 Mar 2014 05:09:11 GMT From: Adam McDougall <mcdouga9@egr.msu.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/187189: pw groupmod groupname -g ### creates duplicate groups Message-ID: <201403020509.s2259BIu011613@cgiserv.freebsd.org> Resent-Message-ID: <201403020510.s225A0S6008590@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403020509.s2259BIu011613>