Vsftpd jailing.
Hi there. I would like to thank everyone who has helped me in the past.My name is Kendall and I have a few questions.
I have a server that I am using right now as a learning experience with linux. I am not making any profit off of it at all.
However I am hosting some sites for some friends and I would like to allow them ftp access to their website directory.
I have been able to jail them under their home path.
/home/user1
/home/user2
/home/user3
However I would like to jail them as follows, so it coincides with their domain name.
/var/www/html/www.domain1.com/ where user1 has access here.
/var/www/html/www.domain2.com/ where user2 has access here.
/var/www/html/www.domain3.com/ where user3 has access here.
I have virtual directories setup via httpd.conf and this is working perfectly.
I was also thinking maybe it was as easy as when I create a user instead of setting their home path to /home/user set it to /var/www/html/www.domainname.com
Thanks.