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.
@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
Yes create the directory. This is a standard directory but KDE Neon may not use it. Also you need to place that policy there and reload the polkit daemon (no idea how to do that, just reboot lol).
And as I said, if the admin password window shows, use the “show details” button at the left to get the ID of the polkit action.
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.
@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 safeUnfortunately it’s not working 😅
Thanks
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
Please ask KDE Neon devs.
Discuss.kde.org
Or file a bug on bugs.kde.org
@KaKi87
Yes.
@boredsquirrel @kde
Yes create the directory. This is a standard directory but KDE Neon may not use it. Also you need to place that policy there and reload the polkit daemon (no idea how to do that, just reboot lol).
And as I said, if the admin password window shows, use the “show details” button at the left to get the ID of the polkit action.
KDE is a very empowering Desktop!
Unfortunately it’s not working 😅
Thanks
Rule looks fine. Please contact KDE devs on discuss.kde.org
This will be Neon specific, on Fedora this is the directory used for polkit rules.
org.freedesktop.packagekit.system-update
Thanks
That was only one of the requested info. But I edited the rule.