954,249 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

vsftpd configuration to open a specific folder when login

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?

lordrt
Posting Whiz
383 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
 

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

rch1231
Posting Shark
959 posts since Sep 2009
Reputation Points: 119
Solved Threads: 142
 

thanks, but eventually I found proftpd more suited

lordrt
Posting Whiz
383 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: