[Adduser-devel] Bug#293559: deluser

Justin Pryzby Justin Pryzby <justinpryzby@users.sourceforge.net>, 293559@bugs.debian.org
Fri, 4 Feb 2005 10:19:29 -0500

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

if ($usershome !~ ^$DHOME && $force!=true) {
	// Warn, exit, whatever

Where DHOME is easily parsed from adduser.conf.