Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PAM Authentication

Status
Not open for further replies.

Xaqte

IS-IT--Management
Oct 4, 2002
971
0
0
US
I'm running RHEL 7 with Percona Server 5.6.27-76.0
I've installed the auth_pam, and auth_pam compat from percona and I'm unable to authenticate with accounts identified with either.

I've got both a local account, and a kerberos account on the linux server and I can't get either of them to work.
I need kerberos authentication, but I was testing with a local account too just to see if I could get the pam authentication working period.

To get it working under the local account, I did add the mysql user to the shadow group and made sure the perms on the shadow file were good (g+r).

I have a feeling my problem is with the /etc/pam.d/mysqld file
Code:
auth       required     pam_warn.so
auth       required     pam_unix.so audit
account    required     pam_unix.so audit

I've also tried:
Code:
auth            include         common-auth
account         include         common-account
password        include         common-password
session         include         common-session

And I've also tried:
Code:
auth required pam_warn.so
auth required pam_krb5.so audit
account required pam_krb5.so audit

My next step is to try enable pam debugging, as outlined here:

Any thoughts or suggestions would greatly be appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top