Chinaunix

标题: authentication failure; 问题出在哪呢? [打印本页]

作者: amin_cu    时间: 2005-07-20 11:33
标题: authentication failure; 问题出在哪呢?
RHAS4+vsFTPd 2.0.3+PAM+mysql4.1.7

[root@s6 ~]# ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.0.3)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (127.0.0.1:root): xoo
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>; bye
221 Goodbye.

[root@s6 ~]# tail /var/log/messages
Jul 20 11:16:24 s6 unix_chkpwd[29999]: check pass; user unknown
Jul 20 11:16:24 s6 vsftpd(pam_unix)[29997]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=127.0.0.1
[root@s6 ~]#

# more /etc/pam.d/ftp
auth required /lib/security/pam_mysql.so user=xoo passwd=1234 host=localhost db=ftpd table=user usercolumn=name passwdcolumn=passwd crypt=0

account required /lib/security/pam_mysql.so user=xoo passwd=1234 host=localhost db=ftpd table=user usercolumn=name passwdcolumn=passwd crypt=0
作者: archangle    时间: 2005-07-20 11:34
标题: authentication failure; 问题出在哪呢?
问题处在你发错地方了
作者: amin_cu    时间: 2005-07-20 15:04
标题: authentication failure; 问题出在哪呢?
[quote]原帖由 "archangle"]问题处在你发错地方了[/quote 发表:


你认为该发到哪个板块?
我认为是pam-mysql认证和mysql数据库的问题,不该发到这吗?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2