Restrict available virsh commands to a group of users
Issue
There is a need to restrict the available virsh commands for a subset of the virtual machines to a group of users. They should be able to list the virtual machines and open a console to them. They should not be able to start/stop/restart or do any other action except the ones mentioned before and only in the mentioned subset of the virtual machines.
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.