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!

Reset User Passwords

Status
Not open for further replies.

Aaron1940

MIS
Dec 14, 2000
27
0
0
US
Any idea on how I can have an auto password reset activated after say 30 days or so. I dont want to do it one by one. Is there way I can have it done to all users.

Thanks in advance
Aaron
 
Just change the Password MAX. age = 4 (4 weeks) for each current id, and change /etc/securty/user maxage = 4 for the default users to cover any new ids you create in the future.
 
You don't need to change the current ids, just change the maxage value in the default stanza of /etc/security/user to 4 and it will immediately apply to all current users. This will also apply to any new users subsequently created

You may wish to consider if there are any users currently on the system whose passwords you do not wish to have expiring passwords; if there are, perform a chuser maxage=0 userid on these users.

You might also want to look at some of the other fields in the /etc/security/user file regarding passwords to instigate a tighter password mechanism ( to stop people just reusing passwords for example )

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top