melawy-calamares/49-nopasswd-calamares.rules

9 lines
230 B
Plaintext

/* Allow Calamares to be started without password authentication
*/
polkit.addRule(function(action, subject) {
if ((action.id == "com.github.calamares.calamares.pkexec.run"))
{
return polkit.Result.YES;
}
});