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.
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 )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.