From owner-freebsd-bugs Sun Jan 3 06:00:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28224 for freebsd-bugs-outgoing; Sun, 3 Jan 1999 06:00:09 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28216 for ; Sun, 3 Jan 1999 06:00:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA29830; Sun, 3 Jan 1999 06:00:01 -0800 (PST) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: bin/9285: pw strips comments from group file Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9285 >Category: bin >Synopsis: pw strips comments from group file >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 Jan 3 06:00:01 PST 1999 >Last-Modified: >Originator: Matt Behrens >Organization: zigg.com >Release: FreeBSD 2.2.8-STABLE i386 >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 -- 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. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message