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;
|
type = types.listOf types.attrs;
|
||||||
default = [];
|
default = [];
|
||||||
example =
|
example =
|
||||||
[ { program = "sendmail";
|
[ { program = "ping";
|
||||||
source = "${pkgs.sendmail.bin}/bin/sendmail";
|
|
||||||
owner = "nobody";
|
owner = "nobody";
|
||||||
group = "postdrop";
|
group = "nogroup";
|
||||||
setcap = true;
|
setcap = true;
|
||||||
capabilities = "cap_net_raw+ep";
|
capabilities = "cap_net_raw+ep";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user