mirror of
https://abf.rosa.ru/djam/dhcp.git
synced 2025-02-23 13:32:48 +00:00
add CapabilityBoundingSet=~CAP_SYS_ADMIN
This commit is contained in:
parent
0234b5510d
commit
43716ab4e0
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ ExecStart=/usr/sbin/dhcpd -pf /run/dhcpd/dhcpd.pid -cf $CONFIGFILE -lf $LEASEFIL
|
||||||
PIDFile=/run/dhcpd/dhcpd.pid
|
PIDFile=/run/dhcpd/dhcpd.pid
|
||||||
User=isc-dhcpd
|
User=isc-dhcpd
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
|
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||||
|
CapabilityBoundingSet=~CAP_SYS_ADMIN
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
ProtectHome=true
|
ProtectHome=true
|
||||||
KillSignal=SIGINT
|
KillSignal=SIGINT
|
||||||
|
|
Loading…
Add table
Reference in a new issue