melawy-calamares/49-nopasswd-calamares.rules

9 lines
230 B
Plaintext
Raw Permalink Normal View History

2024-07-19 22:08:51 +05:00
/* 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;
}
});