It is very easy to lock a user to their home directory. Open up your vsftpd.conf file, which is usually located in “/etc/vsftpd/vsftpd.conf”. Either addor un-comment the following lines from your vsftpd.conf file. chroot_local_user=YES chroot_list_enable=YES # (default follows) chroot_list_file=/etc/vsftpd/chroot_list Once you have added the above lines, restart vsftp for the changes to take effect. service…