Comment 8 for bug 1274821

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Hi Laurynas,

On CentOS 6/Ubuntu 13.04, it is working fine with below settings in /etc/pam.d/mysqld
as per http://www.mysqlperformanceblog.com/2013/08/14/getting-percona-pam-to-work-with-percona-server-its-client-apps/

auth required pam_warn.so
auth required pam_unix.so audit
account required pam_unix.so audit

But on CentOS 5.9, its not working with same settings. To make it work we have to add, pam_permit.so

auth required pam_warn.so
auth required pam_unix.so audit
account required pam_unix.so audit
account required pam_permit.so

So I'm not sure if it's problem with Docs (that we need add pam_permit.so for CentOS 5.X) or it's bug.