Restricting users to their home folder using vsftpd
I use vsftpd , what to restrict user to home folder , I now set the below setting may do it .
chroot_local_user=YES I wonder if I add this setting , it may apply to all users , all users may restrict user to home folder , if I just want to restrict 1 user only, what can I do ? http://thextramoney.wordpress.com/20...ftpd-on-linux/ |
you can use options on /etc/vsftpd/vsftpd.conf file
chroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list you have to touch file chroot_list and list user chroot in this file Example : I want to chroot user ftp_u1 I use two top options after add user ftp_u1 to file chroot_list vim /etc/vsftpd/chroot_list ftp_u1 |
All times are GMT -5. The time now is 04:08 PM. |