mirror of
https://github.com/skeeto/endlessh.git
synced 2024-12-01 17:23:27 +01:00
PrivateUsers=true prevents privileged port mapping
This commit is contained in:
parent
4321fe93e5
commit
44b3285bb2
@ -27,10 +27,11 @@ ProtectHome=true
|
|||||||
## setcap 'cap_net_bind_service=+ep' /usr/local/bin/endlessh
|
## setcap 'cap_net_bind_service=+ep' /usr/local/bin/endlessh
|
||||||
## 2) uncomment following line
|
## 2) uncomment following line
|
||||||
#AmbientCapabilities=CAP_NET_BIND_SERVICE
|
#AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
|
## 4) comment following line
|
||||||
|
PrivateUsers=true
|
||||||
|
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
ConfigurationDirectory=endlessh
|
ConfigurationDirectory=endlessh
|
||||||
PrivateUsers=true
|
|
||||||
ProtectKernelTunables=true
|
ProtectKernelTunables=true
|
||||||
ProtectKernelModules=true
|
ProtectKernelModules=true
|
||||||
ProtectControlGroups=true
|
ProtectControlGroups=true
|
||||||
|
Loading…
Reference in New Issue
Block a user