Date: Fri, 1 Oct 2004 18:52:21 -0400 (EDT) From: questions <questions@zeus.davez.org> To: freebsd-questions@freebsd.org Subject: Re: /var/log/wtmp always reseting to 0 Message-ID: <20041001183944.W13734@zeus.davez.org> In-Reply-To: <1311.66.243.145.38.1096668046.squirrel@www.l-i-e.com> References: <F53D82B1-52C1-11D8-B33B-000393C0ABC0@antsclimbtree.com> <20040213210413.T71247@admin1.mdc.net> <1311.66.243.145.38.1096668046.squirrel@www.l-i-e.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Oct 2004, Richard Lynch wrote: > man logrotate > > Probably the logs are getting rotated and old ones discarded. > > Or, possibly, you haven't realized that the old logs are in /var/log/*.# > where * matches the old log name, and # is 1 to N, for some N defined in > logrotate configuration. man logrotate does nothing = ________Snip Command Output_______ $ man logrotate No manual entry for logrotate ________End Snip_________________ Given that all wtmp.#.gz files have a 0 size would seem to indicate all the files were emptied somehow? __________Snip Command Output_____ $ cd /var/log $ ls -al wtmp* -rw-r--r-- 1 root wheel 308 Oct 1 18:34 wtmp -rw-r--r-- 1 root wheel 0 Oct 1 05:48 wtmp.0 -rw-r--r-- 1 root wheel 0 Oct 1 05:42 wtmp.1 -rw-r--r-- 1 root wheel 0 Oct 1 05:36 wtmp.2 -rw-r--r-- 1 root wheel 0 Oct 1 05:30 wtmp.3 $ _______End Snip__________________ Also the end of month accounting report sent to root shows no logins at all wound indicate the wtmp file must be resetting to 0 prior to the end of the month account process taking place? Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041001183944.W13734>