Accepting request 933797 from home:jsegitz:branches:systemdhardening:server:http
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/933797 OBS-URL: https://build.opensuse.org/package/show/server:http/thttpd?expand=0&rev=47
This commit is contained in:
parent
d591f8a23a
commit
df9f95f544
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 15:13:25 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s) (bsc#1181400). Modified:
|
||||
* thttpd.service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 14 08:42:14 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>
|
||||
|
||||
|
@ -2,6 +2,19 @@
|
||||
Description=Tiny HTTP Daemon
|
||||
|
||||
[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
|
||||
PIDFile=/run/thttpd.pid
|
||||
ExecStart=/usr/sbin/thttpd -D -C /etc/thttpd.conf
|
||||
Restart=always
|
||||
|
Loading…
Reference in New Issue
Block a user