Set Password Policy/Complexity in Red Hat OpenShift Container Platform 4

Solution Verified - Updated -

Issue

  • Compliance scan suggests setting Password Policy/Complexity in Red Hat OpenShift Container Platform (RHOCP) coreos(RHCOS) nodes.

  • Set Password Policy/Complexity in Red Hat Enterprise Linux CoreOS (RHCOS) nodes 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 OpenShift Container Platform (RHOCP)
    • 4.x
  • Red Hat CoreOs (RHCOS)

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content