[Adduser-devel] Bug#293559: deluser

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 293559@bugs.debian.org
Fri, 4 Feb 2005 17:59:19 +0100


On Fri, Feb 04, 2005 at 10:19:29AM -0500, Justin Pryzby wrote:
> I would recommend a more strict check than proposed; rather than "if
> the directory-to-be-removed matches one of several hardcoded regex's",
> I would prefer to see: "If it doesn't look like a manually added
> user":
> 
> if ($usershome !~ ^$DHOME && $force!=true) {
> 	// Warn, exit, whatever
> }
> 
> Where DHOME is easily parsed from adduser.conf.

Are you going to process the gazillion bugs like "didn't remove system
user when purging $PACKAGE"?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835