1
0
Fork 0
ostree-native-containers/etc/polkit-1/rules.d/80-libvirt-manage.rules
ver4a f5228ceeb9 Reduce password prompts for "wheel" group members
Removes password prompts for managing libvirt and rpm-ostree
2024-11-12 12:06:51 +01:00

7 lines
292 B
Text

// https://goldmann.pl/blog/2012/12/03/configuring-polkit-in-fedora-18-to-access-virt-manager/
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});