mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
d35acc05c4
Our dumbed down example PAM stacks do not contain cracklib/pwq modules, hence using use_authtok on the pam_unix.so password change stack won't work, because it has the effect that pam_unix.so never asks for a password on its own, expecting the cracklib/pwq modules to have queried/validated them beforehand. I noticed this issue because of #30969: Debian's PAM setup suffers by the same issue – even though they don't actually use our suggested PAM fragments at all. See: #30969 (cherry picked from commit 75f8b0fe70002176b505010d633d95628eb8c40a) (cherry picked from commit e70b633455622563de1960b34c44b6e55986cf7f) (cherry picked from commit 9eb38e720d49e3f59b7892a37c78d5ef29ca91ff)