530 This FTP server is anonymous only vsftp服务器登录失败解决方案

http://blog.csdn.net/pipisorry/article/details/39647931

用本机用户登录vsftp出现错误:

root@ubuntu:~#ftp
ftp> open 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.3.5)
Name (127.0.0.1:pipi):
530 This FTP server is anonymous only.
Login failed.
ftp> quit

登录失败原因:
vsftp服务器安装后默认不允许本地用户登录,出现该错误,需要修改vsftp配置文件。

解决:

    vim /etc/vsftpd.conf   vi /etc/vsftpd.conf

Now, the following lines will be commented, uncomment them.

将local_enable=YES, write_enable=YES前的#注释取消;
local_enable=YES    – this lets the local users login via FTP
write_enable=YES   – this lets the users upload files

在anonymous_enable=YES前加上#注释
Save and quit the file.


重启vsftp服务:

    /etc/init.d/vsftpd restart

root@ubuntu:~#ftp
ftp> open 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.3.5)
Name (127.0.0.1:pipi): pipi
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 

from:http://blog.csdn.net/pipisorry/article/details/39647931

ref:530 This FTP server is anonymous only. Login failed.


你可能感兴趣的:(异常,ubuntu)