All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axl Purushu <anup.purushu@katalystpartners.com>
To: kalinix <calin.kalinix.cosma@gmail.com>
Cc: "Kirkwood, David A." <DAVID.A.KIRKWOOD@saic.com>,
	linux-admin@vger.kernel.org
Subject: Re: secure file
Date: Thu, 11 Jan 2007 00:45:26 +0530	[thread overview]
Message-ID: <200701110045.27190.anup.purushu@katalystpartners.com> (raw)
In-Reply-To: <1168455717.22721.1.camel@mobilelinux>

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 <glynn@gclements.plus.com>
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
-Axl

  reply	other threads:[~2007-01-10 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 18:06 secure file Kirkwood, David A.
2007-01-10 19:01 ` kalinix
2007-01-10 19:15   ` Axl Purushu [this message]
2007-01-10 19:37     ` Kirkwood, David A.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701110045.27190.anup.purushu@katalystpartners.com \
    --to=anup.purushu@katalystpartners.com \
    --cc=DAVID.A.KIRKWOOD@saic.com \
    --cc=calin.kalinix.cosma@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.