All posts in the FTP category

FTP Jailing or Chroot users – Limit users to only their home directory Using VSFTP

Published February 27, 2010 by Siva

Open vsftpd configuration file – /etc/vsftpd/vsftpd.conf

# vi /etc/vsftpd/vsftpd.conf

Made the Following changing in the File




Save and close the file. Restart vsftpd.

# /etc/init.d/vsftpd restart

Now all users of VSFTPD/FTP will be limited to accessing only files in their own home directory.

They will not able to see /, /etc, /root and /tmp and all other directories.

This is an essential security feature.