KaKi87@jlai.lu to KDE@lemmy.kde.social · 28 days agoInstall updates from Discover without password ?message-squaremessage-square16fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareInstall updates from Discover without password ?KaKi87@jlai.lu to KDE@lemmy.kde.social · 28 days agomessage-square16fedilinkfile-text
minus-squareminecraftchest1@social.opendesktop.orglinkfedilinkarrow-up0·26 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-squareboredsquirrel@slrpnk.netlinkfedilinkarrow-up0·edit-225 days agoI have examples in the repo I linked polkit.addRule(function(action, subject) { if action.id == "ACTION" { if subject.isInGroup("wheel") { return polkit.Result.YES; } } });
minus-squareKaKi87@jlai.luOPlinkfedilinkEnglisharrow-up0·14 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
@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 == "ACTION" { if subject.isInGroup("wheel") { return polkit.Result.YES; } } });
I 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