This commit is contained in:
iFargle 2023-07-06 13:19:09 +09:00
parent 1c687a62d4
commit 34b9e9d24b

View file

@ -14,6 +14,7 @@
# Allow the telegraf account to invoke sudo without a password
security.sudo.extraConfig = ''
Cmnd_Alias FAIL2BAN = /run/current-system/sw/bin/fail2ban-client status, /run/current-system/sw/bin/fail2ban-client status *
telegraf ALL=(root) NOEXEC: NOPASSWD: FAIL2BAN
Defaults!FAIL2BAN !logfile, !syslog, !pam_session
'';