How to Get More Info About Password Aging Using Chage Command on Linux

Share this Article :

In this post, i will show on how to get more info about password aging. This steps has been tested on linux CentOS 5.8, however it may workings on other version of CentOS and Redhat Linux Enterprise.

To get more info about password aging for ehowstuff :

[[email protected] ~]# chage -l ehowstuff

Examples :

[[email protected] ~]# chage -l ehowstuff
Last password change                                    : May 24, 2012
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
CHAGE(1)                         User Commands                        CHAGE(1)

NAME
       chage - change user password expiry information

SYNOPSIS
       chage [options] user

DESCRIPTION
       The chage command changes the number of days between password changes and the date
       of the last password change. This information is used by the system to determine
       when a user must change his/her password.

One Response

  1. Mike Perham

Leave a Reply