How to install pam_mysql in CentOS or Red Hat

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

2 thoughts on “How to install pam_mysql in CentOS or Red Hat”

Leave a Comment

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