vsftpd chroot_local_user什么也不做
我正在build立一个vsftpd服务器: Linux 2.6.32-26-server #48-Ubuntu SMP Wed Nov 24 10:28:32 UTC 2010 x86_64 GNU/Linux 当我设置chroot_local_user=YES ,没有任何效果(我仍然可以看到/当我login)。 syslog或/var/log/vsftpd.log没有任何内容可以指出什么是错误的。 我知道我正在编辑正确的conf文件,而其他设置在重新启动守护程序时生效,因为这些工作是正常的: ssl_enable=YES force_local_data_ssl=YES force_local_logins_ssl=YES 任何想法有什么不对? 谢谢。 编辑: 我已经touch ed /etc/vsftpd.chroot_list它是空的(没有chroot拒绝的用户),并添加了: chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list 然后重新启动: sudo /etc/init.d/vsftpd restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, eg service vsftpd restart Since the script you are attempting to invoke […]