diff --git a/config/files/usr/etc/polkit-1/rules.d/rpm-ostree.rules b/config/files/usr/etc/polkit-1/rules.d/rpm-ostree.rules new file mode 100644 index 00000000..84515450 --- /dev/null +++ b/config/files/usr/etc/polkit-1/rules.d/rpm-ostree.rules @@ -0,0 +1,11 @@ +/* Allow members of the wheel group to execute the defined actions + * without password authentication, similar to "sudo NOPASSWD:" + */ +polkit.addRule(function(action, subject) { + if ( + action.id == "org.projectatomic.rpmostree1.upgrade" + ) + { + return polkit.Result.YES; + } +});