How to manage password ageing for user(s) using the command line tools

Solution Verified - Updated -

Issue

  • How do I manage a user's password using the command line tools?
  • How do I enforce user passwords to expire after a set amount of time?
  • How can chage be used for managing password ageing of local users?
  • Set password expiry using chage

Environment

  • Red Hat Enterprise Linux 3/4/5/6
  • shadow-utils

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.