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 directory restriction for local users

Hi guys,

I've setup vsFTPd server and it works fine. However, I need to restrict local users to their own folders. Currently, anyone who loges in vsFTPd server can navigate through all the folders.

e.g.
User: myuser
Directory: /var/www/http/folder-for-myuser

In this case, myuser should only see this folder, no other folders.

Thanks in advance

veledrom
Master Poster
755 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

Ok I've got the answer.

chroot_local_user=YES should be uncommented in vsftpd.conf file. Thats' all

veledrom
Master Poster
755 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

This question has already been solved

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