A simple question. How would I set up Dom0 to allow a non-root user to manage virtual machines? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
As long as you are using XCP or XenServer, you can install XVP in a VM, and configure XVP to let non-root users manage specific VMs within the XCP/XenServer pool. -----Original Message----- From: xen-users-bounces@lists.xen.org [mailto:xen-users-bounces@lists.xen.org] On Behalf Of Matthew Hook Sent: Tuesday, March 06, 2012 4:01 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Non root users managing virtual machines A simple question. How would I set up Dom0 to allow a non-root user to manage virtual machines? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
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.