免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3757 | 回复: 3
打印 上一主题 下一主题

[Mail] [求助]:Selinux 安装poppassd,发现没有PAM_pwdb.so [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-15 11:25 |只看该作者 |倒序浏览
20可用积分
在redhat as5上安装了poppassd,在pam里做了设置,poppassd 的106端口也起来了
通过telnet这个端口来测试是否能够修改密码,始终发现出现:
200 poppassd v1.8.5 hello, who are you?
username test
200 Your password please.
password 123456
500 Old password is incorrect.

pam里的poppassd文件如下:
#%PAM-1.0
        auth       required     /lib/security/pam_pwdb.so shadow nullok
        account    required     /lib/security/pam_pwdb.so
        password   required     /lib/security/pam_cracklib.so retry=3
        password   required     /lib/security/pam_pwdb.so use_authtok nullok

但是检查/lib/security/pam_pwdb.so 该文件比不存在
不知道为什么,还请高手帮忙分析问题
不甚感激

论坛徽章:
0
2 [报告]
发表于 2007-08-16 10:20 |只看该作者
补充以下日志
security 日志:
Aug 16 09:53:08 localhost login: FAILED LOGIN 2 FROM localhost FOR , User not kn
own to the underlying authentication module
Aug 16 09:53:08 localhost login: pam_unix(remote:auth): bad username []
Aug 16 09:53:08 localhost login: pam_succeed_if(remote:auth): error retrieving i
nformation about user
Aug 16 09:53:08 localhost login: FAILED LOGIN 3 FROM localhost FOR , User not kn
own to the underlying authentication module
Aug 16 09:53:09 localhost login: pam_unix(remote:auth): bad username []
Aug 16 09:53:09 localhost login: pam_succeed_if(remote:auth): error retrieving i
nformation about user
Aug 16 09:53:09 localhost login: FAILED LOGIN SESSION FROM localhost FOR , User
not known to the underlying authentication module
Aug 16 09:53:25 localhost poppassd[29041]: pam_unix(passwd:auth): check pass; us
er unknown
Aug 16 09:53:25 localhost poppassd[29041]: pam_unix(passwd:auth): authentication
failure; logname= uid=0 euid=0 tty= ruser= rhost=
Aug 16 09:53:25 localhost poppassd[29041]: pam_succeed_if(passwd:auth): error re
trieving information about user name


poppassd 日志:
Aug 16 08:31:14 localhost poppassd[28357]: old password is incorrect for user na
me
Aug 16 08:33:11 localhost poppassd[28369]: old password is incorrect for user na
me
Aug 16 09:09:43 localhost poppassd[28599]: PAM error: BAD PASSWORD: it is too si
mplistic/systematic
Aug 16 09:09:43 localhost last message repeated 2 times
Aug 16 09:09:43 localhost poppassd[28599]: changed POP3 password for test
Aug 16 09:53:28 localhost poppassd[29041]: old password is incorrect for user na
me

message的日志
Aug 16 09:52:55 localhost xinetd[29034]: xinetd Version 2.3.14 started with libw
rap loadavg labeled-networking options compiled in.
Aug 16 09:52:55 localhost xinetd[29034]: Started working: 2 available services
Aug 16 09:53:05 localhost xinetd[29034]: START: telnet pid=29038 from=127.0.0.1
Aug 16 09:53:09 localhost xinetd[29034]: EXIT: telnet status=0 pid=29038 duratio
n=4(sec)
Aug 16 09:53:12 localhost xinetd[29034]: START: poppassd pid=29041 from=127.0.0.
1
Aug 16 09:53:28 localhost poppassd[29041]: old password is incorrect for user na
me
Aug 16 09:53:31 localhost xinetd[29034]: EXIT: poppassd status=1 pid=29041 durat
ion=19(sec)

论坛徽章:
0
3 [报告]
发表于 2007-08-16 10:25 |只看该作者
/ect/pam.d/poppassd文件内容如下
#%PAM-1.0M-1.0
        auth       required     /lib/security/pam_pwdb.so shadow nullok
        account    required     /lib/security/pam_pwdb.so
        password   required     /lib/security/pam_cracklib.so retry=3
        password   required     /lib/security/pam_pwdb.so use_authtok nullok

/etc/xinetd.d/poppassd文件内容如下:
# default: off
# description: The POPPASSD service allows remote users to change their
#              password remotely via Eudora or NUPOP using a network
#              protocol on port 106.
#
service poppassd
{
        disable          = no
        socket_type      = stream
        wait             = no
        user             = root
        server           = /usr/sbin/poppassd
        only_from        = 127.0.0.1
        log_on_success   += USERID
        log_on_failure   += USERID
}



使用telnet来测试
[root@localhost pam.d]# telnet 127.0.0.1 106
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
200 poppassd v1.8.1 hello, who are you?
username test
200 Your password please.
password 123456
500 Old password is incorrect.
Connection closed by foreign host.

明明密码是对的,就是认不出来,还请高手帮我分析下,谢谢

论坛徽章:
0
4 [报告]
发表于 2008-07-25 11:11 |只看该作者
我也遇到一样的问题了呵呵
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP