Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

Lock Inactive users

Go to solution
Lee TL
Occasional Contributor

Lock Inactive users

I am working on Tru64 unix server and is looking for a way to automatically lock users who are inactive for more than 90 days. Can anyone enlighten me on this? Thanks
Gregory Lee_1
Regular Advisor

Re: Lock Inactive users


Yes you can set this up.

I believe it requires having Enhanced Security installed.

The option is Maximum Login Interval. You can specify the maximum time period between logins before the account is locked because of inactivity. The value can be set in hours days or weeks.

Good Luck!
Paul Sperry
Honored Contributor

Re: Lock Inactive users

/usr/sbin/usermod -x account_inactive=90 username

Specifies the number of days that can elapse before an
inactive account is locked automatically.