Ubuntu vsftpd服务器错误:500 OOPS:无法读取chroot()列表文件:/etc/vsftpd.chroot_list

我使用vsftpd为Ubuntuconfiguration了一个FTP服务器。 但是,我无法访问服务器。

Status: Connecting to IP Status: Connection established, waiting for welcome message... Response: 220 (vsFTPd 2.3.2) Command: USER userhere Response: 331 Please specify the password. Command: PASS *************** Response: 500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list Error: Critical error Error: Could not connect to server 

编辑

问题解决了! 注释行chroot_list_enable=YES

快速解决方法是禁用你的conf文件中的chroot_list_enable开关,用于Vsftpd(通常在/etc/vsftpd.conf中)

 #chroot_list_enable=YES #chroot_list_file=/etc/vsftpd.chroot_list 

注释掉上面提到的行,看看有没有帮助。

你必须申请下面的命令,

setsebool -P ftp_home_dir on

setsebool -P allow_ftpd_full_access=1

我解决了这个方法。