aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-21 21:49:09 +0000
committerColin Smith <colin@pfsense.org>2005-04-21 21:49:09 +0000
commitd9407d724c351fbbb12f49ddb01b85e2c6315f42 (patch)
tree7eed71a3db0f1d2a7619cee6e4d7eb2a51b0989d /packages
parent52b1b09708337bda56a2d15a6854b0580fd7780a (diff)
downloadpfsense-packages-d9407d724c351fbbb12f49ddb01b85e2c6315f42.tar.gz
pfsense-packages-d9407d724c351fbbb12f49ddb01b85e2c6315f42.tar.bz2
pfsense-packages-d9407d724c351fbbb12f49ddb01b85e2c6315f42.zip
Revert last commit.
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 e72a2c7a..a2a321b2 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 -d /home/" . $_POST['username'] . " -s /usr/sbin/nologin");
+ mwexec("/usr/sbin/pw useradd " . $_POST['username'] . $expires . " -m -d /home/" . $_POST['username'] . "/./ -s \"/usr/sbin/nologini\"");
$fd = popen("/usr/sbin/pw usermod -n " . $_POST['username'] . " -H 0", "w");
$salt = md5(time());
$crypted_pw = crypt($_POST['password'],$salt);