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

pam_mysql

Read Some More Articles

2 Comments

    1. Thanks Mathijs,

      Your suggestion is perfect. Yes, on 64 bit OS, it should be in /lib64/..

      Thanks and Regards
      Sharad

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.