Skip to content

Instantly share code, notes, and snippets.

View dennis1248's full-sized avatar
🦊
Hacking away at Arkane Linux

Dennis ten Hoove dennis1248

🦊
Hacking away at Arkane Linux
View GitHub Profile
@ageis
ageis / systemd_service_hardening.md
Last active May 4, 2024 15:57
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict