blob: afc8670a93b43ddcfddd5af2e187d3b3746e7024 (
plain)
1
2
3
4
5
6
7
8
9
|
/* 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;
}
});
|