diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-06 21:06:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-06 21:06:24 +0000 |
commit | feba4621e8c8e443e2493e3353a02fb230ddde62 (patch) | |
tree | 6038752c7fdb4f7a8780a61638d3359a232d7386 | |
parent | 97b8f6b3e0c3916413626b9654ed044c1431f744 (diff) | |
download | pfsense-packages-feba4621e8c8e443e2493e3353a02fb230ddde62.tar.gz pfsense-packages-feba4621e8c8e443e2493e3353a02fb230ddde62.tar.bz2 pfsense-packages-feba4621e8c8e443e2493e3353a02fb230ddde62.zip |
Remove users home directory when deleting account
-rw-r--r-- | packages/pure-ftpd.xml | 1 |
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> |