Hello I've spent some time searching for this but did not find: I want to make my users login directly to a folder /var/www/ on my server when they login to the ftp. How to do this?
Unless I am mistaken you need to set the following lines in the /etc/vsftpd/vsftpd.conf file:
local_root=/var/www/ chroot_local_user=YES
Try this site for more information:
http://ubuntuforums.org/archive/index.php/t-518293.html
thanks, but eventually I found proftpd more suited