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-logind.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-logind.service.in') diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index f087e99ce2..471278aa1b 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -24,6 +24,7 @@ Restart=always RestartSec=0 BusName=org.freedesktop.login1 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG +SecureBits=noroot noroot-locked WatchdogSec=1min # Increase the default a bit in order to allow many simultaneous -- cgit v1.2.3-54-g00ecf