Accepting request 945222 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/945222
OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=152
This commit is contained in:
Peter Simons 2022-01-24 08:42:02 +00:00 committed by Git OBS Bridge
parent 2ddbfaa5d9
commit 64dddf151a
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 5 10:21:02 UTC 2022 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* vsftpd.service
-------------------------------------------------------------------
Fri Sep 10 13:15:44 UTC 2021 - Fabian Vogt <fvogt@suse.com>

View File

@ -3,6 +3,17 @@ Description=Vsftpd ftp daemon
After=network.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf
[Install]