this post was submitted on 06 Jun 2024
2 points (100.0% liked)

KDE

5023 readers
113 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

Is that possible ?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] boredsquirrel@slrpnk.net 0 points 3 months ago* (last edited 3 months ago) (8 children)

I used Neon for a while. Again, can you please give the needed information. If the password dialog shows, at the left click on "expand"/"show more" and you see the exact action that is executed.

Then have a look at the rules in my linked repo, and replace the action in "libvirt" with that, and the group with "wheel"

(Use groups and send me the output, no idea if the sudo users are in the sudo group on Ubuntu)

Then send that rule, embed it in

``` Rule ```

To format correctly. I look at it and if it is correct, we go on.

[–] minecraftchest1@social.opendesktop.org 0 points 3 months ago (7 children)

@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

[–] boredsquirrel@slrpnk.net 0 points 3 months ago* (last edited 2 months ago) (6 children)

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 safe

[–] KaKi87@jlai.lu 1 points 2 months ago

Unfortunately it's not working 😅

Thanks

load more comments (5 replies)
load more comments (5 replies)
load more comments (5 replies)