General discussion

Locked

Password expiration and crontab issue

By ravinder.singh ·
We had encountered an issue recently whereby crontab didn't run on the solaris 2.6 server due the password expired of the login id for which crontab has been configured. No cronjob ran and cronlog only repoted "bad user" error. We would like to findout if there are any workarounds to resolve the above issue, without disabling the password expiration policy. Are there any other ways to send SMTP mail to the admin to change passwords before it expires.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Password expiration and crontab issue

by cpfeiffe In reply to Password expiration and c ...

When you set up the password expiration you also set up a warning for when the password will expire. This warning will go to the mail file for the user who's password is going to expire. Assuming that the user doesn't read the Unix mail file for anything else or if the user is the root user, you could place a .forward file in the user's home directory. In the .forward file you will put the email address of the person you want to be notified. This will forward all email for that user to the person to be notified. This makes sense if it is the root user and the email will be going to the system administrator. It is just one less place for him/her to look at mail anyway since everything is forwarded to the one account. If it is not a root level user you may get some messages you don't want but at least you'll know when the password is going to expire.

Collapse -

Password expiration and crontab issue

by ravinder.singh In reply to Password expiration and c ...

Poster rated this answer

Collapse -

Password expiration and crontab issue

by ravinder.singh In reply to Password expiration and c ...

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums