[MDEV-30110] Update mariadb-secure-installation to take into account unix_socket authentication Created: 2022-11-28 Updated: 2022-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Ian Gilfillan | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
This script (usually referred to as mysql_secure_installation) is heavily used based on existing guidance/tutorials. However, the flow makes no sense when Unix socket authentication is applied (as it is by default since 10.4). It's a confusing experience for users and should be fixed. Suggestions: If unix_socket_authentication is enabled: 2) Remove the question "Switch to unix_socket authentication [Y/n]" 3) Remove the question "Change the root password? [Y/n]" See also discussion on https://mariadb.zulipchat.com/#narrow/stream/118759-general/topic/'mariadb-secure-installation'.20script.20-.20root.20access where 2) and 3) were suggested by Red Hat's Michal Schorm, as well as MDEV-26593, which proposed solving the issue by removing the script entirely. |