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

Re: trimming wtmp



Scott McDermott <vaxerdec@frontiernet.net> 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 every month by
/etc/cron.monthly/standard.  If this isn't happening (for instance,
because your PC isn't switched on early in the morning when this
happens) you should look at installing "anacron".

You could run that file immediately anyway.

-- 
	 Carey Evans  http://home.clear.net.nz/pages/c.evans/

	  GNU GPL: "The Source will be with you... always."


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: