diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-06 20:15:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-06 20:15:47 +0000 |
commit | 4a74adc1e7b3bf5d48aff0983d1d466ec8595e98 (patch) | |
tree | 9310ddeae42abcc211152d7c70605e9f93caa99e /packages | |
parent | a88085d8555e6ed54d1ada0325af8095eb66231e (diff) | |
download | pfsense-packages-4a74adc1e7b3bf5d48aff0983d1d466ec8595e98.tar.gz pfsense-packages-4a74adc1e7b3bf5d48aff0983d1d466ec8595e98.tar.bz2 pfsense-packages-4a74adc1e7b3bf5d48aff0983d1d466ec8595e98.zip |
No need for aftersaveredirect
Diffstat (limited to 'packages')
-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); |