[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

wtmp management (Re: Slight Multiplicity)

In article <[🔎] 199402071658.IAA02356@mail.netcom.com> you wrote:
: "It" here refers to /var/adm/wtmp. What I mean is checking the size of wtmp
: and clearing it out should happen through crontab not rc.M. It would work
: fine in rc.M if you wanted to reboot your machine every day -- I don't --,
: but if your system is up for two years without a crash :) you would have to
: do the pruning yourself. My vote goes to wtmp management in crontab only.

Just a side note: 
I think that before deleting wtmp at least the output of last should
be mailed to the operator. Especially on an internet connected machine I
consider it harmful to loose the contents of wtmp if you wanna 
track down problems that might be caused by a naughty user.


Christian Linhart (chris@cosy.sbg.ac.at), Phone: +43 662 426959
Wagingerstrasse 12/6    Student of Computer Science & Math
A-5020 Salzburg         at Salzburg University (Austria, Europe)

Reply to: