10-10-2003
84,
1
Join Date: Jan 2002
Last Activity: 23 March 2005, 10:54 AM EST
Location: Florida
Posts: 84
Thanks Given: 0
Thanked 1 Time in 1 Post
What OS and version? Are you using NIS or NIS+ (which don't use password aging)?
Man page for shadow (if you are using it) shows the following:
Each entry in the shadow file has the form:
username: password:lastchg: min:max:warn: inactive:expire:flag
So you want the max field:
lastchg
The number of days between January 1, 1970, and
the date that the password was last modified.
min The minimum number of days required between pass-
word changes.
max The maximum number of days the password is valid.
warn The number of days before password expires that
the user is warned.
Read the man page for shadow and post back if you still don't get it.