cracklib referenced in common-passwd but not installed by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
auth-client-config (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
pam (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using passwd to change a user's LDAP password does not work for our setup; the error message is rather cryptical, saying
passwd: Module is unknown
passwd: password unchanged
The reason is that libpam-cracklib is not installed by default, but referenced in /etc/pam.
password required pam_cracklib.so ...
Installing libpam-cracklib manually solved the issue.
Our installation is fully automated via preseeding, so I am not sure if cracklib is installed per default in "usual" installations or if something strange happened during our installation, removing cracklib.
Unless the problem should turn out to be my fault, once could either remove the above mentioned line or, probably the better solution, install libpam-cracklib by default.
Thank you for taking the time to report this bug and help to improve Ubuntu.
The only reference to pam_cracklib in the stock /etc/pam. d/common- passwd is this:
# password required pam_cracklib.so retry=3 minlen=6 difok=3
i.e., it's commented out.
So it appears that you've modified this file at some point?