@KaKi87 to KDE@lemmy.kde.social • 25 days agoInstall updates from Discover without password ?message-square20arrow-up117arrow-down12file-text
arrow-up115arrow-down1message-squareInstall updates from Discover without password ?@KaKi87 to KDE@lemmy.kde.social • 25 days agomessage-square20file-text
minus-squareminecraftchest1linkfedilink2•22 days 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-square@boredsquirrel@slrpnk.netlinkfedilink2•edit-214 days 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-square@KaKi87OPlinkEnglish1•10 days 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-square@boredsquirrel@slrpnk.netlinkfedilink1•10 days agoPlease ask KDE Neon devs. Discuss.kde.org Or file a bug on bugs.kde.org
@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