security: tweaking the setcap-wrapper example to be more relevant

This commit is contained in:
Parnell Springmeyer 2016-07-01 11:09:14 -05:00
parent 4e98aa639f
commit 2efb60c8e9

@ -48,10 +48,9 @@ in
type = types.listOf types.attrs;
default = [];
example =
[ { program = "sendmail";
source = "${pkgs.sendmail.bin}/bin/sendmail";
[ { program = "ping";
owner = "nobody";
group = "postdrop";
group = "nogroup";
setcap = true;
capabilities = "cap_net_raw+ep";
}