Skip to content

Commit 46900f8

Browse files
authored
Update sudoers troubleshooting guide 🦢
1 parent 944203a commit 46900f8

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

articles/update-manager/troubleshoot.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,27 @@ The property should be set to true to allow extensions to work properly.
270270

271271
#### Issue
272272

273-
Sudo privileges are not granted to the extensions for assessment or patching operations on Linux machines.
273+
Sudo privileges are not granted to the extensions for assessment or patching operations on Linux machines. You may see the following exception:
274+
```
275+
EXCEPTION: Exception('Unable to invoke sudo successfully. Output: root is not in the sudoers file. This incident will be reported. False ',)
276+
```
277+
278+
Azure Update Manager (*AUM*) requires a high level of permissions due to the many different components that may be updated with AUM (*Kernel drivers, OS Security Patching, etc.*). The AUM extension uses the `root` account for operations.
274279

275280
#### Resolution
276-
Grant sudo privileges to ensure assessment or patching operations succeed.
281+
Grant sudo privileges to ensure assessment or patching operations succeed. You will need to add the root account to the sudoers file.
282+
283+
1. Open the sudoers file for editing:
284+
```bash
285+
sudo visudo
286+
```
287+
288+
2. Add the following entry to the end of `/etc/sudoers` file:
289+
```
290+
root ALL=(ALL) ALL
291+
```
292+
293+
3. When done, save and exit the editor using the `Ctrl-X` command. If you are using the *vi* editor you can type `:wq` and press <kbd>⏎ ENTER</kbd>.
277294

278295
### Proxy is configured
279296

0 commit comments

Comments
 (0)