KaKi87@jlai.lu to KDE@lemmy.kde.social · 5 months agoInstall updates from Discover without password ?message-squaremessage-square20fedilinkarrow-up116arrow-down12file-text
arrow-up114arrow-down1message-squareInstall updates from Discover without password ?KaKi87@jlai.lu to KDE@lemmy.kde.social · 5 months agomessage-square20fedilinkfile-text
minus-squareminecraftchest1@social.opendesktop.orglinkfedilinkarrow-up1·5 months ago@boredsquirrel You need to create a polkit rule that allows authentication without password. I will see if I can send an example your way sometime this comming week. @KaKi87
minus-squareboredsquirrel@slrpnk.netlinkfedilinkarrow-up2·edit-25 months agoI have examples in the repo I linked polkit.addRule(function(action, subject) { if action.id == "org.freedesktop.packagekit.system-update" { if subject.isInGroup("wheel") { return polkit.Result.YES; } } }); Please ask KDE Neon devs, if placing this rule as /etc/polkit-1/rules.d/packagekit-update.rules is safe
minus-squareKaKi87@jlai.luOPlinkfedilinkEnglisharrow-up1·5 months agoI don’t have a rules.d directory at /etc/polkit-1/ though, I only have localauthority and localauthority.conf.d. Should I create the directory then create the file ? Thanks
minus-squareboredsquirrel@slrpnk.netlinkfedilinkarrow-up1·5 months agoPlease ask KDE Neon devs. Discuss.kde.org Or file a bug on bugs.kde.org
minus-squareminecraftchest1@social.opendesktop.orglinkfedilinkarrow-up1·5 months ago@KaKi87 Yes. @boredsquirrel @kde
@boredsquirrel
You need to create a polkit rule that allows authentication without password. I will see if I can send an example your way sometime this comming week.
@KaKi87
I have examples in the repo I linked
polkit.addRule(function(action, subject) { if action.id == "org.freedesktop.packagekit.system-update" { if subject.isInGroup("wheel") { return polkit.Result.YES; } } });
Please ask KDE Neon devs, if placing this rule as
/etc/polkit-1/rules.d/packagekit-update.rules
is safeI don’t have a
rules.d
directory at/etc/polkit-1/
though, I only havelocalauthority
andlocalauthority.conf.d
.Should I create the directory then create the file ?
Thanks
Please ask KDE Neon devs.
Discuss.kde.org
Or file a bug on bugs.kde.org
@KaKi87
Yes.
@boredsquirrel @kde