mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
importd: run daemon at minimal capabilities
This commit is contained in:
@@ -12,8 +12,9 @@ Documentation=man:systemd-importd.service(8)
|
||||
[Service]
|
||||
ExecStart=@rootlibexecdir@/systemd-importd
|
||||
BusName=org.freedesktop.import1
|
||||
CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP
|
||||
NoNewPrivileges=yes
|
||||
WatchdogSec=1min
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
|
||||
Reference in New Issue
Block a user