sudo with virsh
scar at drigon.com
Mon Feb 1 16:32:20 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Markus Schönhaber @ 02/01/2010 02:49 AM:
> 01.02.2010 10:28, scar:
>> seems to me something went wrong, and that i should be able to
>> manage/start/stop the VM without super-user privileges. any ideas?
> Is the user account you want to manage VMs with member of the 'libvirtd'
i did run the command 'sudo adduser `id -un` libvirtd', and i do get
output like this:
$ virsh -c qemu:///system list
Id Name State
if i try running 'sudo adduser `id -un` libvirtd' again, i am told i am
already a member of the libvirtd group. however, when i run the
'groups' command, the libvirtd group is not listed:
$ sudo adduser `id -un` libvirtd
The user `scar' is already a member of `libvirtd'.
scar adm dialout cdrom floppy audio dip video plugdev scanner fuse
lpadmin admin netdev sambashare
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the ubuntu-users