smokeping: setuid for fping6

This commit is contained in:
Tristan Helmich 2017-01-17 17:07:52 +01:00 committed by Robin Gloster
parent 92b1e39e1c
commit b3b300b6ff

View file

@ -273,7 +273,7 @@ in
message = "services.smokeping: sendmail and Mailhost cannot both be enabled."; message = "services.smokeping: sendmail and Mailhost cannot both be enabled.";
} }
]; ];
security.setuidPrograms = [ "fping" ]; security.setuidPrograms = [ "fping" "fping6" ];
environment.systemPackages = [ pkgs.fping ]; environment.systemPackages = [ pkgs.fping ];
users.extraUsers = singleton { users.extraUsers = singleton {
name = cfg.user; name = cfg.user;