howto:mint-update-manager
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:mint-update-manager [2026/07/07 17:25] – Wuff | howto: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 / | + | sudo tee / |
| polkit.addRule(function(action, | polkit.addRule(function(action, | ||
| if (action.id == " | if (action.id == " | ||
| - | subject.user == "username") { | + | subject.user == "$USER") { |
| return polkit.Result.YES; | return polkit.Result.YES; | ||
| } | } | ||
| Line 13: | Line 14: | ||
| EOF | EOF | ||
| </ | </ | ||
| - | then either reboot or restart the polkit service | + | then either reboot or restart the polkit service: |
| <code bash> | <code bash> | ||
| sudo systemctl restart polkit | sudo systemctl restart polkit | ||
| </ | </ | ||
howto/mint-update-manager.1783441518.txt.gz · Last modified: by Wuff