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
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
-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
3 matches
Mail list logo