Re: Non root users managing virtual machines

Steven Timm
2012-03-06T22:24:06Z

On Tue, 6 Mar 2012, Matthew Hook wrote:

> A simple question.
>
> How would I set up Dom0 to allow a non-root user to manage virtual
machines?
>
There are two basic ways to do it.
1) change the socket permissions on the libvirt socket such that
    a user from some specific group can access the libvirt socket.
    This is commonly done by various open-source private cloud software.

2) add the appropriate virsh * commands or xm commands to /etc/sudoers.

Steve Timm



------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.