Maintain your own little db using the info from wtmp and then you
are not relying upon wtmp but only to get the info and keep in your own db.Wags ;) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 10:59 To: [EMAIL PROTECTED]; Peter Lemus Subject: Re: Calculating Last Login on Unix 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] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
