[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] [raq4] last -10
- Subject: Re: [cobalt-security] [raq4] last -10
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 May 2002 06:11:16 -0400
- Organization: Front Street Networks LLC
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
On Monday 20 May 2002 04:22 am, Sean Chester wrote:
> When I type last -10 it only gives me a couple of entries..
> Then says..
>
> wtmp begins Sun May 19 15:17:52 2002
>
> How often to 'wtmp' reset itself.. Does this look normal?
> (uptime is 39 days).
>
logrotate.conf has the answer.
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
size 2M
create 0664 root root
rotate 1
}
--
Gerald Waugh
http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699
Front Street Networks LLC | SOHO Networks & Web Site Hosting
229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States