diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2021-11-17 22:05:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 22:05:16 +0100 |
commit | 90bb5d0e190d44bd7c8ec6fcf1654db5fe550889 (patch) | |
tree | 1cfc7dfed203ee1412ab5838843e6778efac44c4 /nixos/modules/services/monitoring | |
parent | d01431f9104c9bd0177911c7743da50c95041b39 (diff) | |
parent | ebbf93136f9ca5e4e900541b50d6154e98efcd38 (diff) | |
download | nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.tar nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.tar.gz nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.tar.bz2 nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.tar.lz nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.tar.xz nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.tar.zst nixlib-90bb5d0e190d44bd7c8ec6fcf1654db5fe550889.zip |
Merge pull request #146409 from aanderse/zabbix
nixos/zabbixServer: explicitely set security.wrappers ownership
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/zabbix-server.nix | 7 |
1 files changed, 6 insertions, 1 deletions
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 = { |