Sunday, February 12, 2017

How to disable password aging for an user account



chage -m 0 -M 99999 -I -1 -E -1 lxuser1

[root@sp1lvlxbpm01 ~]# chage -l lxuser1
Last password change                                    : Feb 13, 2017
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


http://www.thegeekstuff.com/2009/04/chage-linux-password-expiration-and-aging/

No comments:

Post a Comment