User Tools

Site Tools


howto:mint-update-manager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:mint-update-manager [2026/06/24 12:55] Wuffhowto:mint-update-manager [2026/07/07 17:29] (current) Wuff
Line 3: Line 3:
 To permanently allow a user to install updates via update manager in Linux Mint, a policy needs to be added to PolicyKit (polkit): To permanently allow a user to install updates via update manager in Linux Mint, a policy needs to be added to PolicyKit (polkit):
  
 +This is if the currently logged in user. Replace $USER if necessary.
 <code bash> <code bash>
-sudo tee /etc/polkit-1/rules.d/99-mintupdate.rules > /dev/null << 'EOF'+sudo tee /etc/polkit-1/rules.d/99-mintupdate.rules > /dev/null << EOF
 polkit.addRule(function(action, subject) { polkit.addRule(function(action, subject) {
     if (action.id == "org.aptkit.install-or-remove-packages" &&     if (action.id == "org.aptkit.install-or-remove-packages" &&
-        subject.user == "username") {+        subject.user == "$USER") {
         return polkit.Result.YES;         return polkit.Result.YES;
     }     }
howto/mint-update-manager.1782302113.txt.gz · Last modified: by Wuff