aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pure-ftpd.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-06 21:06:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-06 21:06:24 +0000
commitfeba4621e8c8e443e2493e3353a02fb230ddde62 (patch)
tree6038752c7fdb4f7a8780a61638d3359a232d7386 /packages/pure-ftpd.xml
parent97b8f6b3e0c3916413626b9654ed044c1431f744 (diff)
downloadpfsense-packages-feba4621e8c8e443e2493e3353a02fb230ddde62.tar.gz
pfsense-packages-feba4621e8c8e443e2493e3353a02fb230ddde62.tar.bz2
pfsense-packages-feba4621e8c8e443e2493e3353a02fb230ddde62.zip
Remove users home directory when deleting account
Diffstat (limited to 'packages/pure-ftpd.xml')
-rw-r--r--packages/pure-ftpd.xml1
1 files changed, 1 insertions, 0 deletions
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.";
</custom_add_php_command>
<custom_delete_php_command>
+ system("/bin/rm -rf /home/" . $username);
system("/usr/sbin/pw userdel " . $username);
</custom_delete_php_command>
</packagegui>