To check current password expire date
# chage -l tibero
Last password change : Jul 03, 2019
Password expires : Oct 02, 2019
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 91
Number of days of warning before password expires : 7
# chage -l tibero
Last password change : Jul 03, 2019
Password expires : Oct 02, 2019
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 91
Number of days of warning before password expires : 7
To change
# passwd -x -1 tibero
Adjusting aging data for user tibero.
passwd: Success
Verify change again
# chage -l tibero
Last password change : Jul 03, 2019
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : -1
Number of days of warning before password expires : 7
No comments:
Post a Comment