hostnamed: drop all caps but CAP_SYS_ADMIN

This commit is contained in:
Lennart Poettering 2011-04-19 06:07:29 +02:00
parent 4f34ed54f8
commit 2286fdf7c5
1 changed files with 1 additions and 0 deletions

View File

@ -14,3 +14,4 @@ Description=Hostname Service
ExecStart=@rootlibexecdir@/systemd-hostnamed
Type=dbus
BusName=org.freedesktop.hostname1
CapabilityBoundingSet=CAP_SYS_ADMIN