Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically disable inactive accounts after 120 days

Status
Not open for further replies.

AIXdream

Technical User
Mar 27, 2007
33
0
0
US
Hi Everyone...
I need help writing a script that will Automatically disable inactive accounts after 90 days..can someone please help me initiate script.
 
You can do this with chuser

see man chuser - maxage and maxexpired

force users to change passwords every 1 or 2 months, if a users hasn't logged in and changed it by maxexpired the account is locked.

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top