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.
5. restart vsftpd
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.