歡迎您光臨本站 註冊首頁

vsftp匿名可以訪問,但本地用戶不能訪問的問題?

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

vsftp匿名可以訪問,但本地用戶不能訪問的問題?

平台是RH AS4,下載了一個vsftpd源碼包。make、make install后啟動,匿名用戶可以,本地用戶則不能訪問。怎麼修改/etc/vsftpd.conf也不行。
提示如下:
220 Welcome to blah FTP service.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:root): test
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>


vsftpd.conf中相關部分

anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#


各位大俠看看,問題出在那兒了
《解決方案》

問題已解決,是vsftpd.pam文件的問題
《解決方案》

原帖由 rosenelse 於 2009-7-30 14:56 發表 http://linux.chinaunix.net/bbs/images/common/back.gif
問題已解決,是vsftpd.pam文件的問題

難道你還時不時的動動pam模塊?
《解決方案》

沒見有 local user 之類的選項啊。
《解決方案》

vsftpd.pam文件和虛擬用戶有關聯
《解決方案》

樓主說說vsftpd.pam里配置錯了什麼引起的?

[火星人 ] vsftp匿名可以訪問,但本地用戶不能訪問的問題?已經有394次圍觀

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