PAM authentication plugin

Has anyone been able to get the PAM module working? Some of the docs aren’t quite there yet, so I am trying to piece things together. Does someone have a good version of /etc/pam.d/mysqld to use as a model under RHEL 5?

Hello,
The basics of installing and configuring PAM is available at http://www.percona.com/doc/percona-pam-for-mysql/

Is there anything on the link above that you need assistance with? As for the PAM configuration on /etc/pam.d/mysqld, if you’re going to authenticate over /etc/shadow, as stated in http://www.percona.com/doc/percona-pam-for-mysql/manual.html #configuring-pam-for-mysql , this should work:
auth required pam_unix.so
account required pam_unix.so

Please let me know if there’s anything on PAM that you need help with.