From 6a716208b346b742053cfd01e76f76fb27c4ea47 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Wed, 11 Feb 2015 18:32:14 +0200 Subject: units: add SecureBits No setuid programs are expected to be executed, so add SecureBits=noroot noroot-locked to unit files. --- units/systemd-timesyncd.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-timesyncd.service.in') diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in index 39edafc8d2..bc7aa26a9b 100644 --- a/units/systemd-timesyncd.service.in +++ b/units/systemd-timesyncd.service.in @@ -23,6 +23,7 @@ Restart=always RestartSec=0 ExecStart=@rootlibexecdir@/systemd-timesyncd CapabilityBoundingSet=CAP_SYS_TIME CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER +SecureBits=noroot noroot-locked PrivateTmp=yes PrivateDevices=yes ProtectSystem=full -- cgit v1.2.3-54-g00ecf