[oclug] ssh Permission Denied

pop corn pop3corndog at hotmail.com
Wed Aug 8 13:20:43 EDT 2001


Every now and then in the google sshd permission denied posts, I see someone 
say that PAM was the problem but they don't say exactly what was the fix. 
I'm a RedHat newbie, so I'm no PAM expert.

Here is an example, maybe some of you will see the problem. I have

=============
On my test.com machine,
# cat /etc/hosts.allow
ALL : ALL
# more /etc/pam.d/sshd
#%PAM-1.0
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_limits.so
session    optional     /lib/security/pam_console.so

=============


More information about the OCLUG mailing list