Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Automatically lockout an inactive account after "X" amount of days in AIX

Posted on 2009-12-16
Medium Priority
Last Modified: 2013-11-17

We need to have AIX automatically lockout a user after, for example, 60 days of inactivity.  I didn't see anywhere in /etc/security/user where I could do this.  Any ideas?

Question by:cburn32
  • 2
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 26063922
Hi again,
unfortunately there is no such mechanism in AIX, afaik.
The best thing you could do is setting the password's maxage to 8 or 9 weeks and additionally set the maxexpired value to 0, which means that the password expires immediately when the maxage value is met.
After this defined time, only an administrative user can change the password, which actually locks the account.

Author Comment

ID: 26063957
If I set maxexpired value to -1, will that allow the user to change their password?
LVL 68

Expert Comment

ID: 26064098
Yes, maxexpired -1 essentially means 'unlimited'.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question