4 февр. 2012 г.

VSFTP Limit users to their home directory

Open vsftpd configuration file – /etc/vsftpd/vsftpd.conf # vi /etc/vsftpd/vsftpd.conf Made the Following changing in the File chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
chroot_local_user=YES
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.

Комментариев нет: