howto:mint-update-manager
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| howto:mint-update-manager [2026/07/07 17:26] – 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): | ||
| - | Make sure to replace | + | 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; | ||
| } | } | ||
howto/mint-update-manager.txt · Last modified: by Wuff