IdM admin password expired due to password policy, but change rejected due to minimum life

Solution Verified - Updated -

Issue

  • Malformed password policy has been added and applied to admin account.
  • Password of admin has expired, forcing a password change.
  • However, minimum life of the password has not expired. Changing password is not possible.

    $ kinit admin
    Password for admin@IDM.EXAMPLE.COM: 
    Password expired.  You must change it now.
    Enter new password: 
    Enter it again: 
    Password change rejected: Current password's minimum life has not expired
    
    Password not changed..  Please try again.
    
    Enter new password: 
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Identity Management (IdM) / FreeIPA

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