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?

The basics of installing and configuring PAM is available at

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 #configuring-pam-for-mysql , this should work:
auth required
account required

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