diff options
-rw-r--r-- | packages/pure-ftpd.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml index 47583e1e..5ff852d4 100644 --- a/packages/pure-ftpd.xml +++ b/packages/pure-ftpd.xml @@ -4,7 +4,6 @@ <version>1.0.20_1</version> <title>Services: PureFTPD Accounts</title> <!-- Menu is where this packages menu will appear --> - <aftersaveredirect>pkg_edit.php?xml=pure-ftpd.xml&id=1</aftersaveredirect> <menu> <name>Pure FTPD Accounts</name> <tooltiptext>Pure FTPd Server is a fast, production quality, standards-conformant FTP server based on Troll-FTPd. It has no known vulnerability, it is trivial to set up, and it is especially designed for modern kernels. Features include PAM support, IPv6, chroot()ed home directories, virtual domains, built-in 'ls', FXP protocol, anti-warez system, bandwidth throttling, restricted ports for passive downloads, an LDAP backend, XML output, and more.</tooltiptext> @@ -81,7 +80,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 ftp"); $fd = popen("/usr/sbin/pw usermod -n " . $_POST['username'] . " -H 0", "w"); $salt = md5(time()); $crypted_pw = crypt($_POST['password'],$salt); |