On Thu, Nov 15, 2012 at 5:37 PM, Ian Pilcher <arequipeno@xxxxxxxxx> wrote:
I've just reviewed those pages, and it's certainly not obvious to me
how I would go about "porting" a PKLA file.
[libvirt Management Access]
Identity=unix-group:wheel
Action=""> ResultAny=no
ResultInactive=no
ResultActive=yes
The latter page, in particular, reads like something written for an
audience of developers, rather than system administrators. I'm sure
that I can figure it out in time, but this seems like a terrible burden
to put on system administrators, particularly those who are (sometimes
proudly) averse to anything that smacks of "programming".
the .rules file should look like this: and go into /usr/share/polkit-1/rules.d/
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;;
}
});
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel