security: tweaking the setcap-wrapper example to be more relevant
This commit is contained in:
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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user