[fedora-virt] virsh as user? F16+ host.
Richard W.M. Jones
rjones at redhat.com
Fri Jan 27 11:29:15 UTC 2012
On Fri, Jan 27, 2012 at 10:56:37AM +0000, Frank Murphy wrote:
> the xml files are in:
> /etc/libvirt/qemu/*.xml
> Usually I have to start as root.
>
> If I try as user:
> cd /etc/libvirt/qemu && virsh start 02-64-Bit-Old && virsh console
> 02-64-Bit-Old
> bash: cd: /etc/libvirt/qemu: Permission denied
>
> I would like to be able to do this as user,
> I was thinking chown user:user /etc/libvirt/qemu
>
> but am worried about any security issues.
Use virsh -c qemu:///system start [...]
You may need to adjust the PolicyKit configuration to allow
passwordless access:
http://libvirt.org/auth.html
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
More information about the virt
mailing list