Saturday, April 27, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2766  / 2 Years ago, fri, june 24, 2022, 3:32:15

Ubuntu's new policy dictates that updates to already installed applications don't require password when doing it from Update Manager (Synaptic and apt-get still require password). Also, I would like to prevent the Update Manager to pop-up, it should only run when I invoke it. Thanks.


More From » update-manager

 Answers
1

To remove the 'update packages without admin auth'



gksudo gedit /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla


The section in question is this



[Update already installed software]
Identity=unix-group:admin
Action=org.debian.apt.upgrade-packages
ResultActive=yes


Probably the easiest & maybe best solution is to just remove the whole section.



If desired you could leave & try setting the ResultActive=yes to this



ResultActive=auth_admin_keep



If I wanted this I'd just remove the section, then the action should fallback to the default in /usr/share/polkit-1/actions/org.debian.apt.policy which is to require auth per use.


[#42383] Saturday, June 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arsleyeuth

Total Points: 72
Total Questions: 121
Total Answers: 112

Location: North Korea
Member since Mon, Oct 31, 2022
2 Years ago
;