1 2 3 4
# Put it in /etc/pam.d/mariadb_mtr auth required pam_mariadb_mtr.so pam_test account required pam_permit.so