Let me start by saying that I didn’t actually delete anything I didn’t want to delete - because I’m ultra-paranoid.
And overall, my experience with Webmin/Virtualmin has been excellent - indeed, I opened this account weeks ago, and several times started to prepare questions for the forum but each time discarded them as I found the answer here. I had to move almost 100 domains for my non-profit webhosting from an end-of-life hosting to Rackspace and I shudder to think what it would have been like without *min…
But here’s my little complaint.
I carefully selected a lot of mysql users I wanted to delete and then pressed Delete Selected - and they were instantly deleted, no recourse, scaring me enough I yelled “Whoa!” and frightened my wife. I had checked the list twice, it was right - but I expected an “Are you sure?”
The next guy might not be as careful as I am. Worse, it seems to me that you could delete the root account very easily that way… it’d be very easy to click Select all and then Delete Selected if your hand slipped, they’re so close!
Which brings me to another game-ender, which is that the root accounts are unprotected. You could delete the root account, which I didn’t do, or you could set the root account not to have privileges, which I did do - and either of these disables your Webmin/Virtualmin control panels!
Fixing a deleted root account is fairly easy: http://www.servaxnet.com/blog/2010/07/10/restoring-accidently-deleted-root-user-in-mysql/ (on Webmin, you need to finally go back to the sql users page and add a couple of perms not added on that page) - and you can fix root perms that way too, as I did. But it’s scary and a lot of people aren’t going to be comfortable editing config files and databases live.
I can imagine weird reasons for wanting to change your root accounts - but I also think that if you’re smart enough to really have these reasons, you’re smart enough to change the root accounts from the command line. So IMHO you should protect the root accounts and make them uneditable - perhaps even unselectable…?
Thanks again for a super-excellent program that has made my life and the lives of a lot of people who depend on my server much happier!