From 4fc151b5a3c749833554379a96bd87676f6c5740 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 May 2014 00:04:48 +0200 Subject: nixos-install: Ask the user to set a root password This removes the need to have an initially empty root password. --- nixos/modules/virtualisation/google-compute-image.nix | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nixos/modules/virtualisation/google-compute-image.nix') diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index 34b8b0e9c1ca..d55b74202436 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -114,11 +114,6 @@ in # Always include cryptsetup so that NixOps can use it. environment.systemPackages = [ pkgs.cryptsetup ]; - # 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 Google Compute machines. - security.initialRootPassword = mkDefault "!"; - # Configure default metadata hostnames networking.extraHosts = '' 169.254.169.254 metadata.google.internal metadata -- cgit 1.4.1