Another dilemma. This is on a 7.1-PRERELEASE.
I added the following line to my /etc/pam.d/sshd file:
Code:
password requisite pam_passwdqc.so min=disabled,8,8,8,8 max=40 passphrase=0 similar=permit enforce=users random=0
This is the exact same line as I have in my /etc/pam.d/passwd file.
I set a user's password to be expired, then logged in via ssh, and it asked me to change the password. It even displayed the information about the password restrictions. However, I was able to set the password to something simple and too short (like "aa") and it took it. However, if I try to use passwd to change the password, it won't take it. Again - the exact same line, literally copied and pasted.
Any ideas why it won't enforce the restrictions on an ssh login?