Restrict available virsh commands to a group of users

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content