I don't know why I haven't done this before. I have completely forgotten! Today, I published in OKay's RPM repository RPMs for PAM MySQL 0.7 RC1. This is a module that allows PAM-aware applications to authenticate users through a MySQL database. Now configurable in terms of which host the database reside upon, which table and username and password column to interrogate.
For those who may ask, yes! It works with MariaDB. And as far as I have been using it, you can put complex INNER JOIN requests.
RPM's are available for Centos 6 and 7. And you can find it if you type yum search pam_mysql.
Enjoy!blog comments powered by Disqus