We can face the situation with restricted rights on a server. This is a use case for
sudo. You can get restricted access to specific commands as
root, but not to the whole system, which is very good!
I need access to
virt-top to monitor kvm based virtual machines on a big host system. Add the following line to
This line allows
myusername to run
virt-top without password from any terminal.
A couple of useful links: