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

Re: [cobalt-security] [raq4] last -10



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