44a71b3a3e
- Instruct polkit to allow memebers of the 'libvirt' group to connect to libvirt without providing any password (bnc#920804) - Added polkit-10-virt.rules to fix bnc#920804 OBS-URL: https://build.opensuse.org/request/show/291007 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=444
9 lines
240 B
Plaintext
9 lines
240 B
Plaintext
polkit.addRule(function(action, subject) {
|
|
if (action.id == "org.libvirt.unix.manage"
|
|
&& subject.local
|
|
&& subject.active
|
|
&& subject.isInGroup("libvirt")) {
|
|
return polkit.Result.YES;
|
|
}
|
|
});
|