diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-04-20 16:41:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-04-20 16:41:35 +0000 |
commit | 52e862fd784c2ebde3b4a490ed3034a084ff725e (patch) | |
tree | c3045cca4fd7f9c74e34ec6db5554d9b0c60cac4 /packages | |
parent | 46b2662d8e3674afa65458dae102c698c7391b86 (diff) | |
download | pfsense-packages-52e862fd784c2ebde3b4a490ed3034a084ff725e.tar.gz pfsense-packages-52e862fd784c2ebde3b4a490ed3034a084ff725e.tar.bz2 pfsense-packages-52e862fd784c2ebde3b4a490ed3034a084ff725e.zip |
Set the correct home dir for Pure-FTPD
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pure-ftpd.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml index e1eb036b..2c684f3d 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 -d /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); |