myvesta / vesta

myVESTA Control Panel
https://myvestacp.com
GNU General Public License v3.0
266 stars 46 forks source link

disable root login phpmyadmin #181

Closed ikheetjeff closed 1 month ago

ikheetjeff commented 5 months ago

As seen in my previous pull request, I wanted to lock the root mysql user, but of course that is not possible. Then I thought; why is root login not disabled as default in phpmyadmin.

Therefore, here is a suggestion to disallow default "root" login in phpmyadmin. That seems safer to me personally, and should they still want to use a root account they can better create a new account with a unique name.

I have tested it, and I have not encountered any errors with this modification. Feedback is always welcome.