Sorry for the delay in getting the Summary out but wanted to try some
things first......Thanks to the following for their help....Dr. Blinn,
Ann Majeske, Johan Brusche, Paul Sand, Jerome Berkman, Mark Deiss,
Oisin McGuinness, John Ferlan, Harm Ensing, Tom Swigg.
The easiest method was to set the grace limit as lots of folks suggested
and I had tried but it didnt work right. The usermod man page said the
grace_limit was number of days but my accounts kept getting disabled
again after about a day or so even though I set the grace_limit to 26.
Ann Majeske emailed me and said that the man page was wrong and that it
was actually the number of hours which makes sense since my accounts
were disabling after a day or so. So it seems once I set the limit to
around 504 they would stay active long enough.
The answer to what does the time in the edauth output represent is:
The grace limit is stored in the auth database as a time_t value which
is (number of seconds since the Epoch, Jan 1 00:00:00 GMT 1970).
To convert the t_time number to an exact date you can do the following:
1043333542 = Thu Jan 23 15:52:22 2003
Use the following to convert the number in human time format:
echo "ctime 1043333542" | kdbx -k /vmunix
Darryl Cook wrote:
> I bought the book Tru64 Unix Troubleshooting by Martin Moore and
> Steven Hancock and must say it is a big help. I had posted a question
> here earlier about problems with student accounts getting disabled and
> with the help of Martin and the book have narrowed it down to the
> following: The value of u_suclog is greater than the value for
> u_max_login_intvl. The book says to either set u_max_login_intvl to
> 0 or set u_suclog to a time closer to the present. It would be best
> for me to set u_suclog to a time closer to the present but Im not sure
> what to set it to. Question is this: what does the value for
> u_suclog represent? I thought at first that it was number of seconds
> since last successful login but I dont think that is the case. I just
> logged in and did an edauth -g on my account and it shows u_suclog to
> be 1043333542. What does this represent?
>
> thanks,
> darryl
>
Received on Thu Jan 30 2003 - 20:50:14 NZDT