Debugging PAM Issues

Overview of PAM #

Overview of Pluggable Authentication Modules

Enable Debugging for PAM#

Although this is a generalized for Solaris, it would be similar on other Unix platforms. To turn debugging on for Pam, do the following:

Debug Example for etc/pam.conf#

For the PAM Module Name you require debugging information from add the "debug" PAM module-arguments to the end of the line.
sshd    auth    sufficient      /usr/lib/security/pam_ascauth.so stats debug 

Debugging PAM on AIX#

Syslog Facility#

Make sure "debug" priority messages are logged somewhere from /etc/syslog.conf

More Information#

There might be more information for this subject on one of the following: