Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible for mysql to use PAM (or NIS) authentication. I want to allow all users from unix XXX group to be able to connect to mysql and do whatever they want.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Unfortunately mysql doesn't support any kind of PAM authentication, you can use MySQL as a backend for PAM auth but no the other way around.

You'll have to create some kind of script/trigger/puppet recipe to add a new user to the mysql server everytime a new user is added to the PAM database

share|improve this answer

It seems to be possible with MySQL External Authentication for PAM but I haven't tried yet.

(MySQL version > 5.5)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.