PDA

View Full Version : [ubuntu] Adding users in VSFTPD with access to /var/www/SITE



perfecti0n
February 12th, 2012, 08:19 PM
Hello!

So, I am setting up a webserver (using Ubuntu server 11.10) for the first time and so far I have done this.

1. Changed root password.
2. Created another user with sudo privileges.
3. Set-up iptables (allowed http, https, ftp, ssh)
4. Installed apache, php5, mysql, phpmyadmin
5. Installed vsftpd and did the basic changes to conf for security

Now, I am trying to add a user to vsftpd that would have access only to a specific folder inside /var/www and I have no idea how to do that. Can anyone please point me to a guide that explains this well or if it isn't too much work, explain it here?