您的位置:首页 > 运维架构 > Linux

linux下ftp连接:530 Permission denied

2016-06-14 00:20 423 查看
问题如下:

[root@localhost apps]# ftp 10.xxx.xxx.xxx

Connected to 10.xxx.xxx.xxx

220 (vsFTPd 2.0.5)

530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type

Name (10.xxx.xxx.xxx:root): root

530 Permission denied.

Login failed.

ftp>

root被禁用,可以修改下面两个地方

[root@localhost media]# vi /etc/vsftpd/ftpusers

# Users that are not allowed to login via ftp

#root

bin

daemon

adm

lp

sync

shutdown

halt

mail

news

uucp

operator

games

nobody

~

~

~

~

~

~

~

~

"/etc/vsftpd/ftpusers" 15L, 126C written

[root@localhost media]# vi /etc/vsftpd/user_list

# vsftpd userlist

# If userlist_deny=NO, only allow users in this file

# If userlist_deny=YES (default), never allow users in this file, and

# do not even prompt for a password.

# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers

# for users that are denied.

#root

bin

daemon

adm

lp

sync

shutdown

halt

mail

news

uucp

operator

games

nobody

~

~

~

"/etc/vsftpd/user_list" 20L, 362C written

[root@localhost media]#

然后重启ftp:

#/sbin/service vsftpd restart
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: