Add polkit rule to allow users in sysadmin group to launch actions with no password
This commit is contained in:
parent
1df6c3140d
commit
faf10f0645
5
etc/polkit-1/rules.d/48-nopasswd_sysadmin.rules
Normal file
5
etc/polkit-1/rules.d/48-nopasswd_sysadmin.rules
Normal file
@ -0,0 +1,5 @@
|
||||
/* Allow members of the sysadmin group to execute any actions
|
||||
without password authentication */
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (subject.isInGroup("sysadmin")) { return polkit.Result.YES; }
|
||||
});
|
Loading…
Reference in New Issue
Block a user