Access denied for user 'user" using the auth_pam plugin
Hi to all,
I am trying to use the auth_pam plugin to authenticate my users using their pam accounts on mysql.
I have this in my.cnf under [mysqld]
plugin-load = auth_pam.so
The auth_pam plugin is loaded correctly I think:
MariaDB> INSTALL PLUGIN pam SONAME 'auth_pam.so';
ERROR 1125 (HY000): Function 'pam' already exists
That means it is installed right?
Now when I try to connect to mysql using a working unix account I get 'Access denied':
Feb 6 13:12:34 serv mysqld: 120206 13:12:34 [Warning] Access denied for 'user'@'localhost' (using password: YES)
I read the docs about auth_pam here:
http://
I created the user using:
CREATE USER user@localhost IDENTIFIED VIA pam;
But I cannot logging using user's credentials.
Am I missing something?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- MariaDB Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Theodotos Andreou for more information if necessary.