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? > > --- gkhgkh@attbi.com 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: > > beginners-unsubscribe@perl.org > > For additional commands, e-mail: > > beginners-help@perl.org > > > > > ===== > Peter Lemus > UNIX/NT Networks Engineer > plemus11@yahoo.com > > --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.comThread Previous | Thread Next