Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27833

mysql_secure_installation didn't disable unix_socket authentication

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
    • N/A
    • Scripts & Clients
    • None

    Description

      Unix_socket authentication has been installed and enabled by default since MariaDB 10.4.3, and when run mysql_secure_installation, we still get the question "Enable unix_socket authentication? [Y/n]"

      I think the question must be changed to "Disable unix_socket authentication? [Y/n]" or at least when press n instead of skipping, the script remove unix_auth from the root user.

      https://github.com/MariaDB/server/blob/b5852ffbeebc3000982988383daeefb0549e058a/scripts/mysql_secure_installation.sh#L439

      Attachments

        Activity

          People

            serg Sergei Golubchik
            askadhum Ali Salam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.