Enforce password change at first login for all local users on RHEL

Solution In Progress - Updated -

Issue

  • Node fails to prompt users to change their password after the first login.
  • The requirement is to ensure that newly created users must change their password immediately upon first login.
  • Currently, when a new user account is created, even though the password is set manually, the system does not prompt for a password change after the first login.

Environment

  • Red Hat Enterprise Linux 7, 8, 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