"chage" command is failing with an error "chage: the shadow password file is not present"

Solution Verified - Updated -

Issue

  • chage command is failing with an error
chage: the shadow password file is not present
  • On running chage command following error is logged in /var/log/secure:
Apr  9 10:00:55 testsystem chage[24934]: can't find the shadow password file

Environment

  • Red Hat Enterprise Linux(RHEL) 6/7
  • PAM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.