I'm doing Red Hat (RHEL 6.5) security settings. If I set up the two files as shown below, is there no security effect on each other?
- /etc/pam.d/system-auth
password requisite pam_cracklib.so retry=3 minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1
- /etc/login.defs
PASS_MIN_LEN 5
Is it okay to set the minimum password length differently as above? I'd appreciate it if you could explain the difference or relevance between the two files.