mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardening] Deactivate password login for root when hardening is enabled
This commit is contained in:
parent
4915bff563
commit
3d55cc1894
2 changed files with 4 additions and 1 deletions
|
|
@ -47,6 +47,8 @@ in
|
|||
|
||||
aviallon.hardening.expensive = mkForce cfg.hardcore;
|
||||
|
||||
services.openssh.permitRootLogin = "prohibit-password";
|
||||
|
||||
security.apparmor.enable = true;
|
||||
services.dbus.apparmor = "enabled";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue