I was today trying to change my password on our lab servers (SUSE) with passwd and got the error message that my password was "based on a dictionary word", which it really wasn't. I'd like to change and adapt these constraints and limits on setting a password (I'm the admin) and am wondering how to do that?
Update: Found this row in my /etc/security/pam_pwcheck.conf:
password: nullok use_cracklib
Is there any way I can make it just warn about this rather than preventing me from setting the password?
Update 2: Also found this in /etc/pam.d/common-password:
password required pam_pwcheck.so nullok password required pam_unix2.so nullok use_authtok
If I remove the use_cracklib parameter, I remove the check. I tried adding:
password optional pam_cracklib.so
but it did not help. I have disabled the cracklib functionality, but now I don't even get a warning.
Tried this (/etc/pam.d/common-password):
password optional pam_pwcheck.so nullok password required pam_unix2.so nullok use_authtok
password: use_cracklib nullok
This, however, does not give the desired effect, I still can't ignore the warning.