14
submitted 4 months ago by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Is that possible ?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[-] Zamundaaa@discuss.tchncs.de 2 points 4 months ago

Yes, and many distros have a polkit rule set up to allow installing or updating without a password. You can likely just copy it from Fedora or sth

[-] KaKi87@jlai.lu 1 points 4 months ago

Could you please elaborate on that ? Thanks

[-] Zamundaaa@discuss.tchncs.de 2 points 4 months ago

Fedora just has

polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.packagekit.package-install" ||
         action.id == "org.freedesktop.packagekit.package-remove") &&
        subject.active == true && subject.local == true &&
        subject.isInGroup("wheel")) {
            return polkit.Result.YES;
    }
});

in /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules. If you put the same file in there, it should work.

this post was submitted on 06 Jun 2024
14 points (88.9% liked)

KDE

5207 readers
38 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