Displaying Users Password Expiration Date/Time

From: Jeff Claunch (chknlil@gmail.com)
Date: Mon Jun 26 2006 - 14:57:00 EDT


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@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:15 EDT