Enforcing password complexity on CentOS

The pam_pwquality (previously pam_cracklib) module is used to check password complexity against a set of rules. It checks if the password is found in a dictionary; if not, it will continue with additional checks. The config file is /etc/security/pwquality.conf but, if in use, it can be configured in /etc/pam.d/system-auth. To add the password policies, just… Continue reading “Enforcing password complexity on CentOS”