Re: Rotating wtmp
- From: "Serge Dubrouski" <sergeyfd@xxxxxxxxx>
- Date: Wed, 28 Jun 2006 16:15:50 -0600
logrotate -f
man logrotate.
On 6/28/06, Poluri, Ramachandra Rao <rp230050@xxxxxxx> wrote:
Don't we have a command to do so..forcing rotation..
-Ramachandra.
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Serge Dubrouski
Sent: Wednesday, June 28, 2006 6:10 PM
To: General Red Hat Linux discussion list
Subject: Re: Rotating wtmp
cp /var/log/wtmp /var/log/wtmp.old
cp /dev/null /var/log/wtmp
if yopu don't want to make a copy.
On 6/28/06, Poluri, Ramachandra Rao <rp230050@xxxxxxx> wrote:
> I want to force the rotation of wtmp right now..
> How can we do it??
>
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Serge Dubrouski
> Sent: Wednesday, June 28, 2006 6:01 PM
> To: General Red Hat Linux discussion list
> Subject: Re: Rotating wtmp
>
> /var/log/wtmp {
> monthly
> create 0664 root utmp
> rotate 1
> }
>
> in the /etc/logrotate.conf
>
> On 6/28/06, Poluri, Ramachandra Rao <rp230050@xxxxxxx> wrote:
> > Frnds..
> >
> > How do we rotate /var/log/wtmp ?
> >
> > Thanks in advance,
> > -Ramachandra.
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjectunsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Re: Rotating wtmp
- From: Serge Dubrouski
- RE: Rotating wtmp
- From: Poluri, Ramachandra Rao
- Re: Rotating wtmp
- Prev by Date: RE: Rotating wtmp
- Next by Date: Normal to have 14 httpd processes?
- Previous by thread: RE: Rotating wtmp
- Next by thread: RE: Rotating wtmp
- Index(es):
Relevant Pages
- RE: Rotating wtmp
... You should note that the command 'logrotate -f' will force immediate ... you
can also "rotate" the wtmp file by copyung it manually. ... Subject: Rotating wtmp
... (RedHat) - Re: Rotating wtmp
... On 6/28/06, Poluri, Ramachandra Rao wrote: ... Subject: Rotating wtmp
... create 0664 root utmp ... (RedHat) - RE: Rotating wtmp
... Don't we have a command to do so..forcing rotation.. ... Subject: Rotating
wtmp ... if yopu don't want to make a copy. ... How do we rotate /var/log/wtmp?
... (RedHat)