我郁闷了 哪位大哥帮我搞定vsftpd啊
我不管怎么配置 还是出现
[root@localhost root]# ftp 10.21.18.36
Connected to 10.21.18.36.
220 ready, dude (vsFTPd 1.1.0: beat me, break me)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.21.18.36:root): root
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
我自己都不知道啥原因 配了好多天了
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
vsftpd默认好像不让root登录吧?
用别的用户也不行啊
你用匿名用户试一下anonymous
[root@localhost pam.d]# ftp 10.21.18.36
Connected to 10.21.18.36.
220 ready, dude (vsFTPd 1.1.0: beat me, break me)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.21.18.36:root): anonymous
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
修改/etc/vsftpd.user_list,将root注释掉!
# Access rights
anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
# Security
anon_world_readable_only=YES
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
# Features
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
# Performance
#one_process_model=YES
idle_session_timeout=120
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
anon_max_rate=50000
/etc/vsftpd.user_list 这个文件在/etc下面没有啊
把你配置文件写出来一下,让大家帮你分析一下!
[quote]原帖由 "jeffyan"]/etc/vsftpd.user_list 这个文件在/etc下面没有啊[/quote 发表:
没有,就自己写一个!
[code]
# 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