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, 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