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/06/24 12:55] – 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; | ||
| } | } | ||
howto/mint-update-manager.1782302113.txt.gz · Last modified: by Wuff