Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow login_unix_socket to be specified #327

Closed
deefour opened this issue Dec 11, 2019 · 2 comments
Closed

Allow login_unix_socket to be specified #327

deefour opened this issue Dec 11, 2019 · 2 comments

Comments

@deefour
Copy link
Contributor

deefour commented Dec 11, 2019

I recently upgraded a server to MariaDB from 10.3 to 10.4. As of 10.4.3, root@localhost authentication is done via unix socket.

The socket is at /var/lib/mysql/mysql.sock and needs to be configured via login_unix_socket on this line.

After the root password is set, subsequent runs of the role do not rely on auth via the unix socket.

Is making this a configurable variable something you'd consider accepting a PR for?

@rndmh3ro
Copy link
Member

Hey @deefour,

Is making this a configurable variable something you'd consider accepting a PR for?

Yes, totally! Feel free to open one!

@rndmh3ro rndmh3ro transferred this issue from dev-sec/ansible-mysql-hardening Nov 11, 2020
@rndmh3ro
Copy link
Member

This was fixed some time ago here: 99d1d07

divialth pushed a commit to divialth/ansible-collection-hardening that referenced this issue Aug 3, 2022
Signed-off-by: Dan Michael O. Heggø <danmichaelo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants