Disable password aging for a User – Redhat

Posted on


Open console, login with root user, and do this…

# chage -I -1 -m 0 -M 99999 -E -1 namauser

The command set the “Password inactive” to never, set the minimum number of days between password change to 0, set the maximum number of days between password change to 99999, and set “Account expires” to never.

“man chage” for the best assist…

Link : 32.2.4. Password Aging

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s