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

gus*_*siq 1 ubuntu ftp vsftpd

我使用 vsftpd 为 Ubuntu 配置了一个 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
Run Code Online (Sandbox Code Playgroud)

编辑

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

kaj*_*aji 5

快速修复是在 Vsftpd 的 conf 文件中禁用 chroot_list_enable 开关(通常在 /etc/vsftpd.conf 中)

#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
Run Code Online (Sandbox Code Playgroud)

注释掉上面提到的行,看看它是否有帮助。