歡迎您光臨本站 註冊首頁

為什麼本地用戶不能FTP登錄呢?錯誤530

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

為什麼本地用戶不能FTP登錄呢?錯誤530

我安裝的RH9.0,安裝選擇FTP服務,在服務中關閉了gssftp,開啟了vsftpd,tftp服務,但在進行各項設置中本地用戶一直不能登錄,請各位看看是什麼原因?各配置文件及登錄情況如下:

/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.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.
ftp
webmaster
master

/etc/vsftpd/vsftpd.conf
anonymous_enable=YES
local_enable=YES
guest_enable=YES
guest_username=vsftpdguest
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
idle_session_timeout=600
user_config_dir=/etc/vsftpd/vsftpd_user_conf
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
listen=YES
listen_address=192.168.0.2
tcp_wrappers=YES
《解決方案》

我也剛開始研究vsftpd,我把我的想法將出來,大家一起研究下。
在你的vsftpd.conf的配置中,你設置了userlist_deny=NO,而在/etc/vsftpd.user_list
中有這樣一句話,不知道你注意了沒有
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and。意思就是說userlist_deny處於NO狀態時,只能允許使用vsftpd.user_list文件中的用戶。
所以推薦你把userlist_deny的值改為YES看看,或在vsftpd.user_list中加入你欲使用的FTP用戶名。
《解決方案》

吧user_list 和 ftpusers里你要登陸的用戶明去掉
《解決方案》

回復 #1 sun_star 的帖子

3樓的方法可用嗎?
樓主問題解決了嗎?

[火星人 ] 為什麼本地用戶不能FTP登錄呢?錯誤530已經有485次圍觀

http://coctec.com/docs/service/show-post-35839.html