SHA256
1
0
forked from pool/pure-ftpd

Accepting request 926711 from home:jsegitz:branches:systemdhardening:network

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/926711
OBS-URL: https://build.opensuse.org/package/show/network/pure-ftpd?expand=0&rev=84
This commit is contained in:
Lars Vogdt 2021-10-29 13:59:43 +00:00 committed by Git OBS Bridge
parent 7d6d239716
commit 47b0635944
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 20 14:40:45 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* pure-ftpd.service
-------------------------------------------------------------------
Mon May 3 05:30:57 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -3,6 +3,18 @@ Description=Pure-FTPd FTP server
After=syslog.target network.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
ExecStart=/usr/sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf
[Install]