From e14b866bc15f30ea88fc084050e1963bb6312f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 25 Apr 2016 14:03:27 -0400 Subject: [PATCH] tests: allow root to login with empty password to test images --- test/test-functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test-functions b/test/test-functions index 9e9f2953cb..be954d0fe8 100644 --- a/test/test-functions +++ b/test/test-functions @@ -416,6 +416,9 @@ install_pam() { [[ "$LOOKS_LIKE_DEBIAN" ]] && cp /etc/pam.d/systemd-user $initdir/etc/pam.d/ + + # set empty root password for easy debugging + sed -i 's/^root:x:/root::/' $initdir/etc/passwd } install_keymaps() {