Force to reset password after expire

Hi Lads,

I would like place the mechanism of force reset password to user when he login to the server after his password expired. Currently, We are resetting users once in every 60 days using cron job but I am thinking is there any other way to force reset passwords after it expires? I am using solaris 10 and 11 in my servers. Any ideas would be appreciated. I am not using and central authentication mechanism like LDAP. We are using local logins.

Thanks in advance.

Naveen.

If users passwords expire in 60 days, why do you also have a cron job to reset passwords every 60 days? Let the users update their own passwords when login notifies them that their password will expire soon. And, if they update their password when notified, that will reset that user's expiration date to 60 days from when they last updated their password.

If they don't update their password soon after being notified by login that they need to do so, they will be locked out of the system and will need to come see you to get back in. That might happen once or twice, but they'll quickly get tired of being locked out and start taking care of the problem themselves without bothering you and without you creating 6 flag days every year when outsiders will know that they can sneak around the next day and find a lot of post-it notes with new passwords ready for copying.

3 Likes