summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions
index 3951bb062f..59167b009b 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -379,6 +379,10 @@ install_pam() {
inst $file
done
+ # pam_unix depends on unix_chkpwd.
+ # see http://www.linux-pam.org/Linux-PAM-html/sag-pam_unix.html
+ dracut_install -o unix_chkpwd
+
[[ "$LOOKS_LIKE_DEBIAN" ]] &&
cp /etc/pam.d/systemd-user $initdir/etc/pam.d/
}