Update sudo config recommendation (#5337)
This commit is contained in:
committed by
Daniel Nelson
parent
35d18d3fd7
commit
7a229e25a6
@@ -86,7 +86,9 @@ You will also need to update your sudoers file:
|
||||
```bash
|
||||
$ visudo
|
||||
# Add the following line:
|
||||
telegraf ALL=(ALL) NOPASSWD: /usr/sbin/smtpctl
|
||||
Cmnd_Alias SMTPCTL = /usr/sbin/smtpctl
|
||||
telegraf ALL=(ALL) NOPASSWD: SMTPCTL
|
||||
Defaults!SMTPCTL !logfile, !syslog, !pam_session
|
||||
```
|
||||
|
||||
Please use the solution you see as most appropriate.
|
||||
|
||||
Reference in New Issue
Block a user