# PAM authentication plugin

**URL:** <https://forums.percona.com/t/pam-authentication-plugin/1696>\
**Category:** Other MySQL® Questions\
**Created:** [October 26, 2011, 11:16am UTC](https://forums.percona.com/t/pam-authentication-plugin/1696 "2011-10-26T11:16:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdutta777](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pdutta777](https://forums.percona.com/u/pdutta777)\
**Post date:** [October 26, 2011, 11:16am UTC](https://forums.percona.com/t/pam-authentication-plugin/1696/1 "2011-10-26T11:16:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jaime](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jaime](https://forums.percona.com/u/jaime)\
**Post date:** [March 13, 2013, 12:50am UTC](https://forums.percona.com/t/pam-authentication-plugin/1696/2 "2013-03-13T00:50:55Z")

</div>

Hello,  
The basics of installing and configuring PAM is available at [URL][PAM Authentication Plugin — Percona Server 8.0 Documentation](http://www.percona.com/doc/percona-pam-for-mysql/%5B/URL%5D)

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](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.
