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?

Recommended Answers

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

Jump to Post

All 2 Replies

thanks, but eventually I found proftpd more suited

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.