Skip to content

Commit

Permalink
Create rpm-ostree.rules
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdotpy authored Jan 8, 2024
1 parent 32eb700 commit 0b16ae5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/files/usr/etc/polkit-1/rules.d/rpm-ostree.rules
Original file line number Diff line number Diff line change
@@ -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;
}
});

0 comments on commit 0b16ae5

Please sign in to comment.