diff --git a/test/test-functions b/test/test-functions index c4cf2921c81..a6eea662fc4 100644 --- a/test/test-functions +++ b/test/test-functions @@ -284,6 +284,9 @@ install_pam() { ) | while read file; do inst $file done + + [[ "$LOOKS_LIKE_DEBIAN" ]] && + cp /etc/pam.d/systemd-user $initdir/etc/pam.d/ } install_keymaps() {