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-machined.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-machined.service.in') diff --git a/units/systemd-machined.service.in b/units/systemd-machined.service.in index 15f34d9db7..0cb823e60e 100644 --- a/units/systemd-machined.service.in +++ b/units/systemd-machined.service.in @@ -16,6 +16,7 @@ After=machine.slice ExecStart=@rootlibexecdir@/systemd-machined BusName=org.freedesktop.machine1 CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH +SecureBits=noroot noroot-locked WatchdogSec=1min PrivateTmp=yes PrivateDevices=yes -- cgit v1.2.3-54-g00ecf