hostnamed: drop all caps but CAP_SYS_ADMIN
This commit is contained in:
parent
4f34ed54f8
commit
2286fdf7c5
|
@ -14,3 +14,4 @@ Description=Hostname Service
|
||||||
ExecStart=@rootlibexecdir@/systemd-hostnamed
|
ExecStart=@rootlibexecdir@/systemd-hostnamed
|
||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=org.freedesktop.hostname1
|
BusName=org.freedesktop.hostname1
|
||||||
|
CapabilityBoundingSet=CAP_SYS_ADMIN
|
||||||
|
|
Loading…
Reference in a new issue