Re: secure file

Axl Purushu <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Hi Kirk,

Logrotation is handled by logrotate. 
/etc/logrotate.d
root@XXXXXX [/etc/logrotate.d]# ls
./   acpid  bfd   exim   mgetty  named  psacct  samba  squid   tux      
vsftpd.log
../  apf    cups  httpd  mysql   ppp    rpm     snmpd  syslog  up2date
root@XXXXXX [/etc/logrotate.d]# cat syslog
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron 
{
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || 
true
    endscript
}

The cron may be in /etc/cron.daily/logrotate

-Anup

On Thursday 11 January 2007 00:31, kalinix wrote:
> On Tue, 2007-01-09 at 13:06 -0500, Kirkwood, David A. wrote:
> > I am using the RHEL4 disribution, update 4.
> >
> > >Kirkwood, David A. wrote:
> > >> What causes the secure logs to be rotated as in /var/log/secure? I
> >
> > don't
> >
> > >> see any entries in crontab.
> > >
> > >How log rotation is handled varies between distributions, so you need
> > >to say which distribution you are using (or ask on a list for that
> > >particular distribution).
> > >
> > >If you're using newsyslog (not to be confused with syslog-ng), that
> > >has built-in log rotation.
> > >
> > >--
> > >Glynn Clements <[email protected]>
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to [email protected]
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> Here you are:
>
>
> /etc/cron.daily/logrotate
> /etc/logrotate.conf
> and man logrotate
>
>
>
>
>
> Calin Cosma
>
> =================================================
> Q: Why did the tachyon cross the road? A: Because it was on the other
> side.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
-Axl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.