aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/pure-ftpd.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml
index c1c4cbf9..e1eb036b 100644
--- a/packages/pure-ftpd.xml
+++ b/packages/pure-ftpd.xml
@@ -84,7 +84,7 @@
config_lock();
$expires = "";
if($_POST['expiration']) $expires = " -e " . $_POST['expiration'];
- mwexec("/usr/sbin/pw useradd " . $_POST['username'] . $expires . " -m -k /home/ " . $_POST['username'] . " -s \"/usr/sbin/nologin\"");
+ mwexec("/usr/sbin/pw useradd " . $_POST['username'] . $expires . " -m -k /home/ " . $_POST['username'] . "/./ -s \"/usr/sbin/nologin\"");
$fd = popen("/usr/sbin/pw usermod -n " . $_POST['username'] . " -H 0", "w");
$salt = md5(time());
$crypted_pw = crypt($_POST['password'],$salt);