hellonium themes and polkit nopasswd
This commit is contained in:
9
etc/polkit-1/rules.d/49-nopasswd_global.rules
Normal file
9
etc/polkit-1/rules.d/49-nopasswd_global.rules
Normal file
@ -0,0 +1,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;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user