sudo with virsh
scar
scar at drigon.com
Mon Feb 1 09:28:10 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
hi all,
i have been reading the KVM guide at [1] to setup a WinXP virtual
machine, had a tough time figuring exactly what needed to be done for
9.04, but i finally got it installed and it's running really fast.
one of the things i had trouble figuring out was how to use virsh to
manage the VM. it seems i am required to use sudo for all of the virsh
commands, like starting and shutting down the VM. when i use the GUI
virtual machine manager (virt-manager), it doesn't start with admin
privileges, and so i can't do anything.... it doesn't find the VM's XML
file in /etc/libvirt/qemu because that file is owned by root and has
permissions 600. so i have to manually use 'sudo virt-manager' before i
can manage the VM.
seems to me something went wrong, and that i should be able to
manage/start/stop the VM without super-user privileges. any ideas?
thanks
1. https://help.ubuntu.com/community/KVM
-----BEGIN PGP SIGNATURE-----
iEYEAREIAAYFAktmnqkACgkQXhfCJNu98qAOTQCgt2Tq6Oz3lJ9pBtRms8EUXQyw
4poAmgLGwfak8o3ZgF36/jTF0SsrBxOa
=MQbD
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list