summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-functions3
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() {