Hi, On Monday 20 September 2004 08:49, Patrick Shanahan wrote:
* Randall R Schulz
[09-20-04 10:13]: Keep in mind that the lastlog file is rolled periodically. On my system, it seems to happen mid-month. I've never bother to track down where that particular date or interval is configure, but I'm sure it can be changed.
What a collection of mistakes: - The pertinent file is /var/adm/wtmp (and /var/adm/btmp for the bad login attempts log displayed via the "lastb" command). There is a file called "lastlog" ("/var/log/lastlog"), but it's not used for quite the same thing--it holds a record of when each defined user last logged in and is displayed in human-readable form by the "lastlog" command. - Typos left as an exercise for the reader...
/etc/logrotate.d/syslog /etc/logrotate.conf
-- Patrick Shanahan Registered Linux User #207535
Randall Schulz