File 50-yuga-firstboot.rules of Package branding-Yuga
// Allow members of the 'wheel' group to run yuga script to install locales without authentication
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel") &&
(action.id === "org.freedesktop.policykit.exec" &&
action.lookup("program") === "/usr/bin/yuga-set-language")) {
return polkit.Result.YES;
}
});