If you run vsftp as your ftp server, may be you want to config
in /etc/vsftpd/vsftpd.conf
To disable anonymous ftp logins, change anonymous_enable to NO [Default: YES]
To jail some user in their home dir uncomment two following line [Default: NO]
Note that if chroot_local_user set to YES, meaning of list will be a list that not to be jailed.
To jail all user in their home dir, add chroot_local_user=YES [Default: NO]
in /etc/vsftpd/vsftpd.conf
To disable anonymous ftp logins, change anonymous_enable to NO [Default: YES]
anonymous_enable=NO
To jail some user in their home dir uncomment two following line [Default: NO]
chroot_list_enable=YESand put a list of user [to be jailed] in /etc/vsftpd/chroot_list.
chroot_list_file=/etc/vsftpd/chroot_list
Note that if chroot_local_user set to YES, meaning of list will be a list that not to be jailed.
To jail all user in their home dir, add chroot_local_user=YES [Default: NO]
chroot_local_user=YES
Comments