@[email protected]cake to [email protected] • 5 months agoInstall updates from Discover without password ?message-square21fedilinkarrow-up114arrow-down12file-text
arrow-up112arrow-down1message-squareInstall updates from Discover without password ?@[email protected]cake to [email protected] • 5 months agomessage-square21fedilinkfile-text
minus-square@[email protected]linkfedilinkEnglish2•5 months agoYes, and many distros have a polkit rule set up to allow installing or updating without a password. You can likely just copy it from Fedora or sth
minus-square@[email protected]cakeOPlinkfedilink1•5 months agoCould you please elaborate on that ? Thanks
minus-square@[email protected]linkfedilinkEnglish2•5 months agoFedora just has polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.packagekit.package-install" || action.id == "org.freedesktop.packagekit.package-remove") && subject.active == true && subject.local == true && subject.isInGroup("wheel")) { return polkit.Result.YES; } }); in /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules. If you put the same file in there, it should work.
Yes, and many distros have a polkit rule set up to allow installing or updating without a password. You can likely just copy it from Fedora or sth
Could you please elaborate on that ? Thanks
Fedora just has
polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.packagekit.package-install" || action.id == "org.freedesktop.packagekit.package-remove") && subject.active == true && subject.local == true && subject.isInGroup("wheel")) { return polkit.Result.YES; } });
in
/usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules
. If you put the same file in there, it should work.