From matt@megaweapon.zigg.com  Sun Jan  3 05:52:20 1999
Received: from megaweapon.zigg.com (megaweapon.zigg.com [206.114.60.8])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA27873
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Jan 1999 05:52:18 -0800 (PST)
          (envelope-from matt@megaweapon.zigg.com)
Received: (from matt@localhost)
	by megaweapon.zigg.com (8.8.8/8.8.8) id IAA06117;
	Sun, 3 Jan 1999 08:51:52 -0500 (EST)
	(envelope-from matt)
Message-Id: <199901031351.IAA06117@megaweapon.zigg.com>
Date: Sun, 3 Jan 1999 08:51:52 -0500 (EST)
From: matt@megaweapon.zigg.com
Reply-To: matt@megaweapon.zigg.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: pw strips comments from group file
X-Send-Pr-Version: 3.2

>Number:         9285
>Category:       bin
>Synopsis:       pw strips comments from group file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan  3 06:00:01 PST 1999
>Closed-Date:    Mon Aug 16 18:34:42 PDT 1999
>Last-Modified:  Mon Aug 16 18:36:41 PDT 1999
>Originator:     Matt Behrens
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
zigg.com
>Environment:

2.2.8-STABLE, last cvsupped Jan 1, 1999

>Description:

Using pw userdel on accounts usually rewrites the groupfile.  While
all data is intact, comments are stripped, as illustrated in the
next morning's report the day after I issued "pw userdel wedding":

Date: Sun, 3 Jan 1999 02:00:01 -0500 (EST)
From: System Account <root>

-- SNIP --

Backup passwd and group files:
-- SNIP --
megaweapon group diffs:
1,2d0
< #	$Id: group,v 1.13.2.4 1998/09/13 23:10:08 brian Exp $
< #
40d37
< wedding:*:30001:

-- SNIP --

pw itself does not seem to fail due to comments in the group file.

>How-To-Repeat:

Add comments to the group file, then run pw with (theoretically)
any command that requires modification of the group file.

>Fix:

No workaround is known.

pw should be patched to leave comments in the group file alone.
This is regrettably beyond my skill for now.

>Release-Note:
>Audit-Trail:

From: Matt Behrens <matt@zigg.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: bin/9285: pw strips comments from group file
Date: Mon, 16 Aug 1999 21:25:49 -0400 (EDT)

 This behavior does not seem to exist anymore in 3.2-STABLE.  Please
 close this report.
 
 (Question for the bug people: if this happens in the future, can
 I close my own bug reports?  If so, how?)
 
 
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Mon Aug 16 18:34:42 PDT 1999 
State-Changed-Why:  
This behavior was fixed. 

>Unformatted:
