IBM Support

IBM AIX Security: Customizing Minimum/Maximum Password Age

How To


Summary

How to use the chuser command to change password expiration attributes.

Steps

To customize the minimum and maximum age of your users' passwords, you need to refer to the 'minage' and 'maxage' parameters in the /etc/security/user file. These two parameters define the minimum and maximum number of weeks that a password is valid. By default, these parameters are populated with the value 0, which is equivalent to unlimited. The range for both 'minage' and 'maxage' is 0 - 52.

You can change the values for 'minage' and 'maxage' for your users by running the following:

# chsec -f /etc/security/user -s <name_of_user> -a "minage=XXX", and

# chsec -f /etc/security/user -s <name_of_user> -a "maxage=XXX"

Where name_of_user indicates the user, and XXX indicates the new value, in the range of 0 - 52.

Note: Setting the new values for 'minage' and 'maxage' applies to all users immediately, unless a user already has a specified value set.

Additional Information

SUPPORT

If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.  

1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.

2. Capture any logs or data relevant to the situation.

3. Contact IBM to open a case:

   -For electronic support, see the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, see the web page:
      https://www.ibm.com/planetwide/

4. Provide a clear, concise description of the issue.

 - For guidance, see: Working with IBM AIX Support: Describing the problem.

5. If the system is accessible, collect a system snap, and upload all of the details and data for your case.

 - For guidance, see: Working with IBM AIX Support: Collecting snap data


Document Location

Worldwide


[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvzlAAA","label":"Security->Authentication"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

More support for:
AIX

Component:
Security->Authentication

Software version:
All Version(s)

Document number:
6188211

Modified date:
02 November 2020

UID

ibm16188211

Manage My Notification Subscriptions