Summary: Displaying Users Password Expiration Date/Time



All,

Thanks so much to all who helped/replied to this message. I have a fix for
this now.

It seems that I simply neglected to realize that the /etc/default/passwd
file is just a file that contains defaults. So, when I was changing the
value here it was not affecting existing user accounts. I've set the value
of WARNWEEKS to 1 larger than MAXWEEKS, and the system warns the user
everytime he/she logs in that his password will expire in XX # of days.
passwd -w is your friend here!

Thanks all!
--Jeff


On 6/26/06, Jeff Claunch <chknlil@xxxxxxxxx> wrote:

All,

Admitidly, I've not done all the neccessary reserach on this, but simply
plugging this into google yielded no results that looked feasible right off
the bat. Hopefully someone on this list has attempted or been asked to do
this in the past.

Problem: I've got a system where the users on the host would like to get
a notification once they login of when their password for their ID will
expire, regardless if the time of expiration is getting close. Example)
"Your password will expire in 10 days."

The WARNWEEKS parameter in the /etc/default/passwd file can be set, but
can it be set to warn all the time? I've tried setting it higher than the
MAXWEEKS param, but it doesn't seem to warn at all even though it's been set
so high.

If anyone has any ideas, I'd appreciate them!

Thanks so much.

--Jeff
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: My users password dont work all of a sudden.
    ... Mike, did any of your users start receiving the 'Your password will expire ... > password reset policy in group policy I think that took hold and your ... >> What do you think is hapaning and how can I fix it once for all. ...
    (microsoft.public.windows.server.active_directory)
  • Expired Administrator Password
    ... My Windows 2000 Administrator password was due to expire. ... I neglected to fix that, and went on vacation, leaving my ...
    (microsoft.public.win2000.security)
  • Re: CAP List is not accessable
    ... My problem is still not fix, i have tried what u have ... >removing the NAL entry in the registry and removing all ... >>it is set to never expire. ... Also the registry permissions seem fine. ...
    (microsoft.public.sms.admin)
  • Re: Password Expiry
    ... I've been doing some searching and think I know how to fix it the next time ... It sort of goes like ... I find it strange that an "Admin" password can be set to expire in XX days ...
    (microsoft.public.win2000.general)