From nobody@FreeBSD.org  Sun Mar  2 05:09:11 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id C35DDF3E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Mar 2014 05:09:11 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B08A41AE2
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Mar 2014 05:09:11 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s2259BxP011615
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Mar 2014 05:09:11 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s2259BIu011613;
	Sun, 2 Mar 2014 05:09:11 GMT
	(envelope-from nobody)
Message-Id: <201403020509.s2259BIu011613@cgiserv.freebsd.org>
Date: Sun, 2 Mar 2014 05:09:11 GMT
From: Adam McDougall <mcdouga9@egr.msu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pw groupmod groupname -g ### creates duplicate groups
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187189
>Category:       bin
>Synopsis:       pw(1): pw groupmod groupname -g ### creates duplicate groups [regression]
>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:  Sun Mar 02 15:18:24 UTC 2014
>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:
