mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
tests: fix install_pam
* pam_unix depends on unix_chkpwd * selinux=1 -> pam_unix runs unix_chkpwd for root too https://git.fedorahosted.org/cgit/linux-pam.git/tree/modules/pam_unix/passverify.c?id=e89d4c97385ff8180e6e81e84c5aa745daf28a79#n202
This commit is contained in:
@@ -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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user