Reduce password prompts for "wheel" group members
Removes password prompts for managing libvirt and rpm-ostree
This commit is contained in:
parent
f8475166e0
commit
f5228ceeb9
2 changed files with 32 additions and 0 deletions
7
etc/polkit-1/rules.d/80-libvirt-manage.rules
Normal file
7
etc/polkit-1/rules.d/80-libvirt-manage.rules
Normal file
|
@ -0,0 +1,7 @@
|
|||
// 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;
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue