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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to