Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Posts
    9

    Unanswered: Password Expiration and Cron Job

    We are using Solaris with password expiration policy activated.
    It is found that when the password of an user account is expired, the cron job of it does not work anymore.

    Could any expert give me hint how to let the cron job work even though the password is expired?

    Thanks!

  2. #2
    Join Date
    Sep 2003
    Posts
    4
    I'm not familiar with the intricacies of Solaris but one way you could do it would be to not use the automagic password expiry and instead have a script that changes the password to a random string after it expires (you handle the expiration with a database yourself with a simple script that is run by cron).

  3. #3
    Join Date
    Sep 2003
    Posts
    4
    One thing to add: You'll also have to have your script handle changing the password to re-enable an account, probably by keeping track of what the old hash was. Then what you'll do is set users' shells to a special script designed to allow them to change their password.

    Of course, I may be complicating this... there may be a way to do this without going to all this trouble, I just don't know it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •