mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos-install: Ask the user to set a root password
This removes the need to have an initially empty root password.
This commit is contained in:
parent
8919d736a0
commit
4fc151b5a3
9 changed files with 39 additions and 24 deletions
|
@ -160,9 +160,4 @@ with lib;
|
|||
environment.systemPackages = [ pkgs.cryptsetup ];
|
||||
|
||||
boot.initrd.supportedFilesystems = [ "unionfs-fuse" ];
|
||||
|
||||
# Prevent logging in as root without a password. This doesn't really matter,
|
||||
# since the only PAM services that allow logging in with a null
|
||||
# password are local ones that are inaccessible on EC2 machines.
|
||||
security.initialRootPassword = mkDefault "!";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue