Re: trimming wtmp

1998-02-13 Thread Martin Bialasinski
Scott McDermott <[EMAIL PROTECTED]> writes: > Does anyone know how I can go about keeping its size manageable? Say, > keep only the last month's worth of data? Without of course zeroing it > every month...I'd like it to always have a month of logs to inspect... This is already done that way. Chec

Re: trimming wtmp

1998-02-13 Thread Carey Evans
Scott McDermott <[EMAIL PROTECTED]> writes: > Does anyone know how I can go about keeping its size manageable? Say, > keep only the last month's worth of data? Without of course zeroing it > every month...I'd like it to always have a month of logs to inspect... This should be done automatically e

trimming wtmp

1998-02-13 Thread Scott McDermott
How do I delete older sections of wtmp? I wouldn't mind leaving it there to gather size but it's getting very large and eating up alot of space. If it were a text file it would be easy to keep it at a certain size but it seems to have some sort of binary format with which I'm not familiar. Does an