i want to lock a user in a certain dir,but i dont know how to use it,can someone give me an example of the chroot list?thanks
Printable View
i want to lock a user in a certain dir,but i dont know how to use it,can someone give me an example of the chroot list?thanks
Look at your /etc/vsftpd/vsftpd.conf file
Look for this code:
chroot_list_enable=yes
chroot_list_file=/etc/vsftpd.chroot_list
If it aint there then add it.
Then create "/etc/vsftpd.chroot_list" and add the users you wish to chroot. You can reverse the default behaviour - ie all users but the ones in the file should be chrooted by adding "chroot_local_user=yes" to your /etc/vsftpd.conf file.