cancel
Showing results for 
Search instead for 
Did you mean: 

Lock Inactive users

SOLVED
Go to solution
Lee TL
Occasional Contributor

Lock Inactive users

Hi,
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
2 REPLIES
Gregory Lee_1
Regular Advisor
Solution

Re: Lock Inactive users

Lee,

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!
Greg
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.