That gives me the information I want, the problem is it 
relies on wtmp.  I believe wtmp gets nulled out on an 
ipl of the server and therefore nulls wtmp.  Therefore I 
lose my history.  What I am trying to do is identify 
user IDs that have not been used for say 60 days and get 
rid of them.

Thanks for your help
> umm. you can run the "last" command and grep for the
> last login id. Is this what you need?
> 
> --- [EMAIL PROTECTED] wrote:
> > Is there a module or a method using perl to
> > calculate 
> > the last login date for a user.  I know I can do
> > this by 
> > installing accounting, however I prefer not to do to
> > 
> > other issues.
> > 
> > Any thoughts/help is appreciated.
> > 
> > Thanks
> > 
> > -- 
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> =====
> Peter Lemus
> UNIX/NT Networks Engineer
> [EMAIL PROTECTED]
> 
> --The universe is way too big for us to be alone; the real question is; who is 
> out-there, besides us "humans"? 
> --A wise man will be master of his mind, a fool will be its slave.  Dr.David 
> Schwartz.
> --Enjoy every moment of the day; Live like as if today was your last day alive, 
> and perhaps, it might be.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to