Skip to content
Snippets Groups Projects
Verified Commit 64035201 authored by shibayashi's avatar shibayashi
Browse files

Security/Drops the sysadmin privilege from the daemon

parent 3370924b
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment