Skip to content

Instantly share code, notes, and snippets.

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