How to allow the regular user to start Virt-Manager without having to constantly insert password.
http://libvirt.org/auth.html "/etc/polkit-1/localauthority/50-local.d/" above dirs seem to be no longer in F18
there is /etc/polkit-1/rules.d/50-default.rules
I havn't a clue about the JS config required. https://bugzilla.redhat.com/show_bug.cgi?id=829883 (http://davidz25.blogspot.ie/2012/06/authorization-rules-in-polkit.html)
Any example appreciated.
On 29.03.2013 13:31, Frank Murphy wrote:
How to allow the regular user to start Virt-Manager without having to constantly insert password.
http://libvirt.org/auth.html "/etc/polkit-1/localauthority/50-local.d/" above dirs seem to be no longer in F18
there is /etc/polkit-1/rules.d/50-default.rules
I havn't a clue about the JS config required. https://bugzilla.redhat.com/show_bug.cgi?id=829883 (http://davidz25.blogspot.ie/2012/06/authorization-rules-in-polkit.html)
Any example appreciated.
su -c "groupadd libvirt" su -c "gpasswd -a <USER> libvirt" newgrp libvirt
su -c "cat <<'EOF' > /etc/polkit-1/rules.d\ /50-org.libvirt.unix.manage.rules polkit.addRule(function(action, subject) { if (action.id == "org.libvirt.unix.manage" && subject.isInGroup("libvirt")) { return polkit.Result.YES; } }); EOF"
virt-manager
man 8 polkit - Authorization Rules Examples ;)
poma
On Fri, 29 Mar 2013 19:34:10 +0100 poma pomidorabelisima@gmail.com wrote:
man 8 polkit - Authorization Rules Examples ;)
poma
You example was clearer to me. The example on man 8, not so helpful. It's my logic problem, not the authors.
My thanks to you for the knowledge shared.