Date: Sun, 3 Jan 1999 08:51:52 -0500 (EST) From: matt@megaweapon.zigg.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/9285: pw strips comments from group file Message-ID: <199901031351.IAA06117@megaweapon.zigg.com>
next in thread | raw e-mail | index | archive | help
>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 <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. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901031351.IAA06117>