rajagennu
2/10/2020 - 9:24 AM

Set user expiration to never

chage -I -1 -m 0 -M 99999 -E -1 <username>

-I , --inactive : Number of days of inactivity after password expired before the account get locked. -1 will disable will remove account 
inactivty
-m , --mindays : 0 days means user can change his password anytime
-M , --maxdays : -1 will remove checking password validity, 99999 days means after 99999 days he can change password.
-E , --expiredate : -1 , will remove account expiry ability from the account..