// Allow wheel group to run actions without password (live installer) polkit.addRule(function(action, subject) { if (subject.isInGroup("wheel")) { return polkit.Result.YES; } });