From: Zbigniew Jędrzejewski-Szmek Date: Mon, 25 Apr 2016 18:03:27 +0000 (-0400) Subject: tests: allow root to login with empty password to test images X-Git-Tag: v230~65^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e14b866bc15f30ea88fc084050e1963bb6312f72;p=thirdparty%2Fsystemd.git tests: allow root to login with empty password to test images --- diff --git a/test/test-functions b/test/test-functions index 9e9f2953cb6..be954d0fe84 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() {