systemd: lock down systemctl status

Mitigates a security issue that allows unprivileged users to read other
unprivileged user's processes' credentials from CGroup using `systemctl
status`.
This commit is contained in:
nixbitcoin 2020-07-27 17:26:45 +00:00
parent 6e694890eb
commit 0248e6493f
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
3 changed files with 59 additions and 0 deletions

View file

@ -42,6 +42,9 @@ in {
networking.firewall.enable = true;
# hideProcessInformation even if hardened kernel profile is disabled
security.hideProcessInformation = true;
# Tor
services.tor = {
enable = true;