From 34b9e9d24b004280ae2d25de9f3c0b3d3ce6a963 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 6 Jul 2023 13:19:09 +0900 Subject: [PATCH] test --- services/telegraf.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/services/telegraf.nix b/services/telegraf.nix index 4d35a188..8539ad66 100644 --- a/services/telegraf.nix +++ b/services/telegraf.nix @@ -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 '';