How to do it
- Install vsftpd and a PAM library.
- Edit /etc/vsftpd.conf and /etc/pam.d/vsftpd.
- Create user accouts with custom directories (in /var/www/ for example)
- Set directories with the correct chmod and chown.
- Create a admin user with full access to the server.
- Troubleshoot.