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-28 11:28:09 +00:00
parent 6e694890eb
commit 0248e6493f
3 changed files with 59 additions and 0 deletions
+3
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;