From: Lennart Poettering Date: Tue, 19 Apr 2011 04:07:29 +0000 (+0200) Subject: hostnamed: drop all caps but CAP_SYS_ADMIN X-Git-Tag: v25~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2286fdf7c5d36864b5c46c4c784774a7cfc55213;p=systemd hostnamed: drop all caps but CAP_SYS_ADMIN --- diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 32a3ab5f..6efab1e2 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -14,3 +14,4 @@ Description=Hostname Service ExecStart=@rootlibexecdir@/systemd-hostnamed Type=dbus BusName=org.freedesktop.hostname1 +CapabilityBoundingSet=CAP_SYS_ADMIN