"chage" command is failing with an error "chage: the shadow password file is not present"
Issue
chagecommand is failing with an error
chage: the shadow password file is not present
- On running
chagecommand 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
