vsftp登录失败_530ThisFTPserverisanonymousonlyvsftp服务器登录失败解决方案

当尝试使用本地用户登录vsftp时,出现'530 This FTP server is anonymous only.'错误。解决方法是修改vsftp配置文件`/etc/vsftpd.conf`,取消`local_enable=YES`和`write_enable=YES`的注释,并在`anonymous_enable=YES`前添加注释。重启vsftp服务后,本地用户即可成功登录。
摘要由CSDN通过智能技术生成

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.confvi /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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值