diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-25 14:03:27 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-08 20:27:33 -0400 |
commit | e14b866bc15f30ea88fc084050e1963bb6312f72 (patch) | |
tree | 402ccba65a19a276104787507418760eec05d352 | |
parent | ed1190498f977f5dd2287b1e4db356147196ced5 (diff) |
tests: allow root to login with empty password to test images
-rw-r--r-- | test/test-functions | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |