Change Username expiry in Linux 7
[root@servername ~]# chage -l sp3adm
Last password change : Jul 23, 2019
Password expires : Aug 22, 2019
Password inactive : Sep 21, 2019
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 30
Number of days of warning before password expires : 7
[root@servername ~]# passwd -x -1 sp3adm
Adjusting aging data for user oracle.
passwd: Success
[root@servername ~]# chage -l sp3adm
Last password change : Jul 23, 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
[root@servername ~]#
Comments
Post a Comment