diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-09 00:04:48 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-09 00:52:02 +0200 |
commit | 4fc151b5a3c749833554379a96bd87676f6c5740 (patch) | |
tree | 14a62675151cc14645867df383ffd7c4a940d177 /nixos/modules/virtualisation/amazon-image.nix | |
parent | 8919d736a034c85eb3e38bc3d9baedcb00356e4e (diff) | |
download | nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.gz nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.bz2 nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.lz nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.xz nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.zst nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.zip |
nixos-install: Ask the user to set a root password
This removes the need to have an initially empty root password.
Diffstat (limited to 'nixos/modules/virtualisation/amazon-image.nix')
-rw-r--r-- | nixos/modules/virtualisation/amazon-image.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index 18b18dd4b23..8ce89c09b24 100644 --- a/nixos/modules/virtualisation/amazon-image.nix +++ b/nixos/modules/virtualisation/amazon-image.nix @@ -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 "!"; } |