The problem with last is that the file it uses for logging the users "wtmp" is usually cleared every month, at least on Red Hat. What I do is create a text file from the output of the last command at the end of each month and import the results into the database. That way I have the start and stop time and day for every user that has logged onto the system during the month. This had made it easy to show when a user has been at work and for how long.
Jerry Banker -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lunt, Bruce Sent: Wednesday, November 05, 2008 11:50 AM To: [email protected] Subject: [U2] [UD HP-UX] I need to track user logins Hi All, I need to provide a report that shows what users have not been on the system for the last 90 days. I don't know how to do this and was hoping that someone out there could help me. Thanks in advance, Bruce Lunt ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
