sudo apt-get install proftpd
(choose 'standalone' mode)sudo nano /etc/init.d/proftpd/proftpd.conf
- Change "ServerName" to some name of your FTP-server
- Change "UserIPv6" to "off"
- Uncomment "RequireValidShell", change it to "off"
- Uncomment "DefaultRoot", change it to "~"
- Save the file. Restart proftpd.
- Add group:
groupadd developers
; Add new user:useradd user_name --home /var/www/dirname --shell /bin/false --group user_group
- Change directory permissions:
chown user_name:user_group -R /var/www/dirname
- Change user password:
sudo passwd user_name
Created
November 19, 2013 09:51
-
-
Save steppefox/7542923 to your computer and use it in GitHub Desktop.
LINUX install proftpd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment