Re: manage VM without root access?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/19/2012 07:21 AM, Jun Koi wrote:
> hi,
> 
> with libvirt, is it possible to manage VMs (using virsh, for e.g)
> without root access?

The daemon is usually running as root, but virsh can do everything as a
user also.

> if that is possible, how can i do that?

I'm using *local* connection to libvirt with these settings:

/etc/libvirt/libvirt.conf:
uri_default = "qemu:///system"

/etc/libvirt/libvirtd.conf

unix_sock_group = "libvirt"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
unix_sock_dir = "/var/run/libvirt"

And my user is in the "libvirt" group. You can also use other
authentication methods as someone mentioned before me.


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux