Once VSFTPD is installed, edit the
/etc/vsftpd/vsftpd.conf file and add the following line if it does not exist
chroot_local_user=YES
This will lock the FTP user into their home dir and they won’t be able to jump out.
Referenced from-
http://centoshacker.com/kabir/remove-access/creating-a-chroot-jail-enabled-ftp-service.html
Comments are closed.