From feba4621e8c8e443e2493e3353a02fb230ddde62 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 6 Mar 2005 21:06:24 +0000 Subject: Remove users home directory when deleting account --- packages/pure-ftpd.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml index 6ec75f55..698437be 100644 --- a/packages/pure-ftpd.xml +++ b/packages/pure-ftpd.xml @@ -93,6 +93,7 @@ $savemsg = "User has been added."; + system("/bin/rm -rf /home/" . $username); system("/usr/sbin/pw userdel " . $username); -- cgit v1.2.3