← Back to team overview

maria-discuss team mailing list archive

Re: Proxy users in MariaDB?

 

On 23 Apr 2015 3:43 PM, Geoff Montee wrote:
Hi Felipe,

On Wed, Apr 22, 2015 at 1:54 PM, Felipe Gasper <felipe@xxxxxxxxxxxxxxxx> wrote:

Sweet! I’ll look forward to it! :)


Here's the blog post:

https://mariadb.com/blog/configuring-pam-authentication-and-user-mapping-mariadb

Let me know if you have any questions.


Hi Geoff,

	This looks really cool--thank you for posting!

One question: how readily might this be able to support using MariaDB’s own authentication for the user rather than /etc/shadow?

Example:

GRANT USAGE ON *.* TO 'temp_g5fj3s'@'' IDENTIFIED BY 'my_secret';
GRANT PROXY ON 'frank'@'localhost' TO 'temp_g5fj3s'@'';

e.g., I log in as “temp_g5fj3s” using “my_secret”, and MariaDB would then just make that user behave as 'frank'@'localhost'.


-FG


Follow ups

References