I want to enforce password complexity on my RH system (local authentication) and have discovered that I need a pam module line something similar to this:
password required pam_cracklib.so dcredit=-1 ucredit=-1 ocredit=-1 lcredit=0 minlen=8
My question is should I be altering /etc/pam.d/login or /etc/pam.d/system-auth and what is the difference between the two files?