Bug#293559: deluser

2005-02-04 Thread Marc Haber
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 ($usersh

Bug#293559: deluser

2005-02-04 Thread Justin Pryzby
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

Bug#293559: deluser removes /bin

2005-02-04 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: adduser Version: 3.59 Severity: critical Some users have default /bin as home directory. deluser will remove /bin if such a user is removed and REMOVE_HOME is set to 1 in the config. After that the system has to be mostely new installed. Thi