[MDEV-19316] mysql_secure_installation should offer to rename root user Created: 2019-04-23  Updated: 2022-06-23

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: 10.5

Type: Task Priority: Minor
Reporter: Manjot Singh (Inactive) Assignee: Anel Husakovic
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-28932 Clean up and document mysql-secure-in... Open

 Description   

mysql_secure_installation should offer to rename root to another name (default to short hostname) before prompting for root password change.



 Comments   
Comment by Manjot Singh (Inactive) [ 2019-04-26 ]

I did a PR for this: https://github.com/MariaDB/server/pull/1288

@serg

Comment by Vicențiu Ciorbaru [ 2022-02-07 ]

Hi anel!

Given that I am assigned as a reviewer for this task, here is my input.

1. There clearly has been a lot of work that went into https://github.com/MariaDB/server/commit/8977ad6c7772cf132c0a9400a0a6dbde31c17fe7.

This is a patch that attempts to fix too many things at once. On top of that it hardly tests the use cases for all the MDEVs mentioned.
The proper way to do this is write a patch for every one of the MDEVs, separately. This will make it much easier for the reviewer to review and it will also make it much easier for any other developer to understand the purpose of a particular change.

2. As for the task itself:
After looking through the PR it is not clear to me what the exact user facing change is decided upon. Can you please update this JIRA entry to make it very clear what the expected outcome of the change will be? I'm happy to review this as soon as possible so that you get immediate feedback.

Generated at Thu Feb 08 08:50:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.