OL6-00-000058 - The system must require passwords to contain at least one special character - system-auth

Information

Requiring a minimum number of special characters makes password guessing attacks more difficult by ensuring a larger search space.

Solution

The pam_cracklib module's 'ocredit=' parameter controls requirements for usage of special (or ''other'') characters in a password. When set to a negative number, any password will be required to contain that many special characters. When set to a positive number, pam_cracklib will grant +1 additional length credit for each special character.

Edit /etc/pam.d/system-auth and /etc/pam.d/password-auth adding 'ocredit=-1' after pam_cracklib.so to require use of a special character in passwords.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_6_V2R7_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a), CAT|III, CCI|CCI-001619, Rule-ID|SV-208833r793618_rule, STIG-ID|OL6-00-000058, STIG-Legacy|SV-65121, STIG-Legacy|V-50915, Vuln-ID|V-208833

Plugin: Unix

Control ID: b27d3ea46a59c947c522b730a653b98bd1505844a186dc898568784a02017268