Subject: Re: tracking logins
From: Carsten Neumann (deltor@snafu.de)
Date: Thu Apr 26 2001 - 19:13:42 EDT
On Wed, 25 Apr 2001, Cliff Crawford wrote:
> * R Cent <cent@u.washington.edu> menulis:
> >
> > Thanks for the reply.
> >
> > I have examined the /var/log/messages,
> > /var/log/messages1,..../var/log/messages4 on my server. Each
> > contain a week's worth of logins. My server has been up for
> > about 4 months yet I only have five weeks of log-in records.
> > This doesn't help if I want to see if a user hasn't use his
> > account with in several months.
> >
> > Does your system keep /var/log/messages farther back in time?
>
> No, but I haven't needed to go back that far yet :) The logs are
> rotated by a cron script, so you could just set it to do it monthly
> instead of weekly.
SuSE has an interesting log backup mechanism:
In a cron.daily script several log files are checked if they reached a given size.
If so they are backed-up to <log-file>-<date>.gz files.
They exist until you delete them.
The pathnames, max. sizes, etc. are defined in /etc/logfiles.
I kept all logfiles since I installed linux onto my box.
So I have all log information for over one year accessible.
Kind regards
Carsten
This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:38 EDT