2024-10-15 15:33:24 +02:00
|
|
|
---
|
|
|
|
src/sysv/systemd/sssd-kcm.service.in | 13 +++++++++++++
|
|
|
|
1 file changed, 13 insertions(+)
|
|
|
|
|
|
|
|
Index: sssd-2.10.0/src/sysv/systemd/sssd-kcm.service.in
|
2021-11-25 13:04:46 +01:00
|
|
|
===================================================================
|
2024-10-15 15:33:24 +02:00
|
|
|
--- sssd-2.10.0.orig/src/sysv/systemd/sssd-kcm.service.in
|
|
|
|
+++ sssd-2.10.0/src/sysv/systemd/sssd-kcm.service.in
|
2021-11-25 13:04:46 +01:00
|
|
|
@@ -8,6 +8,19 @@ After=sssd-kcm.socket
|
|
|
|
Also=sssd-kcm.socket
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
|
|
|
+ProtectHome=true
|
|
|
|
+PrivateDevices=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectClock=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Environment=DEBUG_LOGGER=--logger=files
|
2024-11-05 19:07:28 +01:00
|
|
|
ExecStartPre=+-/bin/chown -f -R root:@SSSD_USER@ @sssdconfdir@
|
|
|
|
ExecStartPre=+-/bin/chmod -f -R g+r @sssdconfdir@
|