Using vsftpd on linux ?

Got a user to work using a remote ftp client ?

The user can browse your entire file system ? This post is for you.

here is how to restrict a user to his home directory :

1. set the following values by editing vsftpd.conf. located at /etc/vsftpd/vsftpd.conf




2. create a file /etc/vsftpd/chroot_list

3. edit the file and write the name of the user you want to restrict.

4. save

5. restart vsftpd

that’s it.

a little more info. in the above way you have to specify each user you want to restrict. it is also possible ┬áto specify which users you don’t want to restrict. in order to do this set


now the list file contains users that you don’t want to restrict.


7 Thoughts on “Restricting users to their home folder using vsftpd on linux

  1. I know

  2. thanks! that’s exactly what i was looking for.

  3. Pingback: Restricting users to their home folder using vsftpd

  4. Having read this I thought it was extremely informative.
    I appreciate you finding the time and effort to put this article together.
    I once again find myself spending a significant amount of time both
    reading and leaving comments. But so what, it was still worthwhile!

  5. johan on July 18, 2013 at 7:16 am said:

    i have follow your instruction but my account still can browse to other directory (not jailed in their home directory)
    any suggestion ?

  6. Ramut on July 5, 2014 at 1:59 pm said:

    HI Admin,
    i just follow your steps , but it’s not working for me

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation