Dominique Leuenberger 2021-10-29 20:34:33 +00:00 committed by Git OBS Bridge
commit aa30684e96
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]