码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-09-29 00:06:37      阅读:1042      评论:0      收藏:0      [点我收藏+]

标签:ubuntu   异常   

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.


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

标签:ubuntu   异常   

原文地址:http://blog.csdn.net/pipisorry/article/details/39647931

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!