Saturday, October 15, 2016

Display Information About User Password on Linux

To display password information ie.

  • password expire date
  • if the password is active or not
  • the number of days after the account expires
  • minimum number of days between password change
  • maximum number of days between password change
  • how many days to give warning before the password expires

The chage can be used like this,
chage -l username

For example, chage -l shovon
Last password change     : Oct 09, 2016
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



No comments:

Post a Comment