Add documentation note about sudo and sudoers "secure_path" option (#757).

This commit is contained in:
Dan Helfman 2023-10-09 14:15:54 -07:00
parent c687dafdd2
commit 1fed44f905

View file

@ -69,7 +69,8 @@ borgmatic --version
If borgmatic is properly installed, that should output your borgmatic version.
You can also try `sudo borgmatic --version` if you intend to run borgmatic
with `sudo`.
with `sudo`. If that doesn't work, you may need to update your [sudoers
`secure_path` option](https://wiki.archlinux.org/title/Sudo).
### Other ways to install