Accepting request 933479 from home:jsegitz:branches:systemdhardening:network:ldap
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/933479 OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=253
This commit is contained in:
24
harden_sssd-ifp.service.patch
Normal file
24
harden_sssd-ifp.service.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
Index: sssd-2.5.2/src/sysv/systemd/sssd-ifp.service.in
|
||||
===================================================================
|
||||
--- sssd-2.5.2.orig/src/sysv/systemd/sssd-ifp.service.in
|
||||
+++ sssd-2.5.2/src/sysv/systemd/sssd-ifp.service.in
|
||||
@@ -5,6 +5,19 @@ After=sssd.service
|
||||
BindsTo=sssd.service
|
||||
|
||||
[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
|
||||
EnvironmentFile=-@environment_file@
|
||||
Type=dbus
|
Reference in New Issue
Block a user