Typically last month's wtmp is archived as wtmp.1. You can use the "last -f
/var/log/wtmp.1" option to view the non-default wtmp file. How many wtmp
files are archived is controlled by /etc/logrotate.conf; try man logrotate
for more info.

/Scott Ballinger
Pareto Corporation
Edmonds WA USA
206 713 6006

On Wed, Nov 5, 2008 at 12:45 PM, jpb-u2ug <[EMAIL PROTECTED]> wrote:

> 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/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to