melawy-archiso-config/Melawy-Linux-Base-System/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules

10 lines
253 B
Plaintext
Raw Normal View History

2024-07-19 21:52:47 +05:00
/* 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;
}
});