How to install pam_mysql in CentOS or Red Hat
While working on some mysql authentication.I required pam_mysql. In CentOS 6.4 I found it was not available even in CentOS 5 it was not also.
Again same method is applied. Download the EPEL repo.
Step 1: Install latest EPEL Repo
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Step 2: Now install it via yum command
yum install pam_mysql
Step 3: Check is it installed or not
ls /lib/security/pam_mysql.so
Maybe update step3 to check for the lib64 dir if you’re on a 64 distro?
Thanks Mathijs,
Your suggestion is perfect. Yes, on 64 bit OS, it should be in /lib64/..
Thanks and Regards
Sharad