desktop-base-openmamba/etc/polkit-1/rules.d/48-nopasswd_sysadmin.rules

6 lines
216 B
Plaintext

/* 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; }
});