Added polkit rule to never prompt for password

This commit is contained in:
Logan G 2023-10-05 04:52:33 -06:00
parent 1653c504df
commit 0ef489205a
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -0,0 +1,8 @@
/* Allow members of the wheel group to execute any actions
* without password authentication, similar to "sudo NOPASSWD:"
*/
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});