From 209aab03ee54596cc417adcdc7e7ac449086871e Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Tue, 16 Nov 2021 15:44:52 +0000 Subject: [PATCH] harden_fancontrol.service --- prog/init/fancontrol.service | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/prog/init/fancontrol.service b/prog/init/fancontrol.service index 43293141..4606d7dd 100644 --- a/prog/init/fancontrol.service +++ b/prog/init/fancontrol.service @@ -4,6 +4,15 @@ ConditionFileNotEmpty=/etc/fancontrol After=lm_sensors.service [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +ProtectHostname=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions Type=simple PIDFile=/run/fancontrol.pid ExecStart=/usr/sbin/fancontrol