Which configuration file has precedence over password length parameter 'PASS_MIN_LEN' ?

Solution Verified - Updated -

Issue

  • Does PASS_MIN_LEN in /etc/login.defs have any effect? (to new and previously created users)
  • If both values (PASS_MIN_LEN and minlen in pam_pwquality.so) are set, which of those will have to be set? Or it will have to comply with the most restrictive?

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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