mytop: least privileges required to run it?

Posted by STATUS_ACCESS_DENIED on Server Fault See other posts from Server Fault or by STATUS_ACCESS_DENIED
Published on 2011-11-30T23:31:36Z Indexed on 2011/12/01 2:02 UTC
Read the original article Hit count: 494

Filed under:
|
|

What is the minimum set of privileges that mytop requires in order to work, without actually requiring super-user privileges.

I feel uncomfortable with the fact that I have to save the password in the configuration file (the less desirable alternative would be the command line), so I want to minimize the impact, should someone get to see the password. The password will still be used only in this one place, but I would prefer to not give unneeded privileges to the (MySQL) user mytop is running as.

The mytop documentation doesn't mention any of that and all examples assume root.

© Server Fault or respective owner

Related posts about mysql

Related posts about mariadb