7163f98894
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/926710 OBS-URL: https://build.opensuse.org/package/show/network/proftpd?expand=0&rev=82
24 lines
828 B
Diff
24 lines
828 B
Diff
Index: proftpd-1.3.6e/contrib/dist/rpm/proftpd.service
|
|
===================================================================
|
|
--- proftpd-1.3.6e.orig/contrib/dist/rpm/proftpd.service
|
|
+++ proftpd-1.3.6e/contrib/dist/rpm/proftpd.service
|
|
@@ -4,6 +4,18 @@ Wants=network-online.target
|
|
After=network-online.target nss-lookup.target local-fs.target remote-fs.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type = simple
|
|
Environment = PROFTPD_OPTIONS=
|
|
EnvironmentFile = -/etc/sysconfig/proftpd
|