首页 > 代码库 > 500 OOPS: vsftpd: both local and anonymous access

500 OOPS: vsftpd: both local and anonymous access

配置ftp服务器,有如下报错
C:\netos74\bin>ftp 10.20.100.252
Connected to 10.20.100.252.
500 OOPS: vsftpd: both local and anonymous access disabled!
Connection closed by remote host.
解决办法
[root@localhost etc]# vi /etc/vsftpd/vsftpd.conf //修改vsftpd.conf文件
local_enable=YES                                 //把NO修改为YES
[root@localhost etc]# service vsftpd restart     //重新启动ftp服务器 
 
C:\netos74\bin>ftp 10.20.100.252
Connected to 10.20.100.252.
220 (vsFTPd 2.0.1)
User (10.20.100.252:(none)):

500 OOPS: vsftpd: both local and anonymous access