chpasswd not working
|Reported by:||thomas||Owned by:||pierre|
|Severity:||normal||Keywords:||shadow pam chpasswd|
When building shadow with pam support, it looks like that at least
chpasswd is not working. Unfortunatly, there is no error message nor a non-zero return code when doing a
echo "username:passwd" | chpasswd
It simply does nothing. The failure has been tracked down to be caused by a missing line in the PAM configuration. The issue can be solved by adding
password include system-password
password required pam_permit.so
/etc.pam.d/chage which is later copied to several other program files.
Question is, is the line just missing for
/etc/pam.d/chpasswd, missing for all
chXXX programs or missing for all programs?