From 2b9ea7fd906b759115b76d7e0f08b92f1b316dbf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Aug 2014 13:55:02 +0200 Subject: [PATCH] test-instrumentation.nix: Set an empty root password This makes it easier to log in during interactive sessions. --- nixos/modules/testing/test-instrumentation.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 9e3bc780f5b..2560c1b2dae 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -97,6 +97,9 @@ let kernel = config.boot.kernelPackages.kernel; in networking.usePredictableInterfaceNames = false; + # Make it easy to log in as root when running the test interactively. + security.initialRootPassword = ""; + }; }