How to Limit any user in vsftpd

shuvo2009

New Member
Hi
I want to limit any user to only their folder....meaning browsing of other folders should nto be possible....can anyone help me with it?

Regards
Sushant Mohindru You can try this and it should lock them to their folder only.
Quote: Open vsftpd configuration file - /etc/vsftpd/vsftpd.conf
# vi /etc/vsftpd/vsftpd.conf

Make sure following line exists (and uncommented):
chroot_local_user=YES

Save and close the file. Restart vsftpd.
# /etc/init.d/vsftpd restart sorry it was sftp...i m trying to make limited users.........so could you please help me with that? SFTP isn't a FTP daemon. Contact me if you need help with vsftpd. Quote: contact me... The whole point of a forum is to provide the solution so that everyone else is able to benefit from the help provided. It also shows whether your method is suitable, useful, and not untoward. Asking him to contact you privately is just downright shady. jayfella,
I made a custom script to add users and chroot them and I don't want to publish it here.
btw.
http://linux-hacks.blogspot.de/2008/09/adding-new-users-to-vsftpd.html
 
Top