1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-25 05:35:09 +01:00

Merge branch 'systemd-drop-sysadmin-privilege' into 'develop'

Security/Drops the sysadmin privilege from the daemon

See merge request pleroma/pleroma!604
This commit is contained in:
kaniini 2018-12-28 20:14:29 +00:00
commit 89fbed8821

View File

@ -21,6 +21,8 @@ ProtectSystem=full
PrivateDevices=false
; Ensures that the service process and all its children can never gain new privileges through execve().
NoNewPrivileges=true
; Drops the sysadmin capability from the daemon.
CapabilityBoundingSet=~CAP_SYS_ADMIN
[Install]
WantedBy=multi-user.target