Chinaunix

标题: 紧急请教:PAM在suse9下不工作!! [打印本页]

作者: floriawll    时间: 2006-01-23 14:36
标题: 紧急请教:PAM在suse9下不工作!!
我在Suse9下配置/etc/pam.d/sshd, 然后重起:/etc/init.d/sshd.
退出后重新登陆,PAM不起作用!
但是,在Redhat EL4和Miracle下都可以正常工作。
请问:Suse9 的PAM是不是比较特殊?需要怎么配置?谢谢~~
作者: chinaux    时间: 2006-01-23 14:40
check out whether PAM has been enabled on sshd_config
作者: floriawll    时间: 2006-01-23 14:52
vi /etc/ssh/sshd_config

...............................
# Set this to 'yes' to enable PAM authentication (via challenge-response)
# and session processing. Depending on your PAM configuration, this may
# bypass the setting of 'PasswordAuthentication' and 'PermitEmptyPasswords'
UsePAM yes

AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes

..................................

"UsePAM yes" should enable PAM.
作者: chinaux    时间: 2006-01-23 15:14
hmmm, no idea, and no SuSe for me to test.
作者: floriawll    时间: 2006-01-23 15:45
Thank you all the same!
作者: zhwakin    时间: 2006-01-23 16:43
标题: 回复 1楼 floriawll 的帖子
openssh?版本是多少?




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