Set Password Policy/Complexity in Red Hat Enterprise Linux 8

Solution Verified - Updated -

Issue

  • Set Password Policy/Complexity in Red Hat Enterprise Linux 8 as below:
    • Requirement 1. Keep history of used passwords (the number of previous passwords which cannot be reused.
    • Requirement 2. Enforce root for password complexity.
    • Requirement 3. Password size (Minimum acceptable size for the new password..
    • Requirement 4. Set limit to number of digits in password.
    • Requirement 5. Set limit to number of Upper Case characters in password.
    • Requirement 6. Set limit to number of Lower Case characters in password.
    • Requirement 7. Set limit to number of Other characters in password.
    • Requirement 8. Set minimum number of required classes in new password (digits, uppercase, lowercase, others.
    • Requirement 9. Set maximum number of allowed consecutive same characters in the new password.
    • Requirement 10. A maximum number of allowed consecutive characters of the same class in the new password.
    • Requirement 11. A maximum number of characters that is allowed to use in new passwords(compared to old password.

Environment

  • Red Hat Enterprise Linux 8
  • authselect
  • pam_pwhistory.so
  • pam_pwquality.so
  • pam_faillock.so

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In