From ebbf93136f9ca5e4e900541b50d6154e98efcd38 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 17 Nov 2021 11:26:14 -0500 Subject: [PATCH] nixos/zabbixServer: explicitely set security.wrappers ownership --- nixos/modules/services/monitoring/zabbix-server.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/zabbix-server.nix b/nixos/modules/services/monitoring/zabbix-server.nix index 9b0fd9dbff13..0141c073da25 100644 --- a/nixos/modules/services/monitoring/zabbix-server.nix +++ b/nixos/modules/services/monitoring/zabbix-server.nix @@ -250,7 +250,12 @@ in }; security.wrappers = { - fping.source = "${pkgs.fping}/bin/fping"; + fping = + { setuid = true; + owner = "root"; + group = "root"; + source = "${pkgs.fping}/bin/fping"; + }; }; systemd.services.zabbix-server = {