Re: wtmp
- From: "Paula J. Lindsay" <paula@xxxxxxxxxxx>
- Date: Fri, 10 Aug 2007 06:57:55 -0700
Thank you ALL! I was successful.
Cleber P. de Souza wrote:
Just remember to set rotate to the value of months you need to maintain.
On 8/9/07, Bill Tangren <bjt@xxxxxxxxxxxxx> wrote:
Paula J. Lindsay wrote:
Hi everyone,My /etc/logrotate.conf rotates the wtmp file. Try doing that:
We have an issue here at the institute. Our rh ws 4's and fedora's are
running on instruments and the lab uses the file
wtmp to bill the users for the time they are spending on these
instruments. The problem is, at the end of the month,
the wtmp file deletes itself. We need to get it set up to copy to a
file, i.e.,
wtmp=this month
wtmp1=last month
wtmp2=the month before
does anyone know how I can do this? Any advice/suggestions/opinions
will be generously welcome.
Many thanks in advance.
Paula
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0644 root utmp
rotate 1
}
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
o The Paula J. Lindsay, IT Analyst III
/ Research Computing, TPC21
o Scripps phone: 858.784.9378
\ fax: 858.784.9301
o Research email: paula@xxxxxxxxxxx
/ o Institute
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- RE: mt refuses to report location on the tape - SOLUTION
- From: Anthony Reynolds
- wtmp
- From: Paula J. Lindsay
- Re: wtmp
- From: Bill Tangren
- Re: wtmp
- From: Cleber P. de Souza
- RE: mt refuses to report location on the tape - SOLUTION
- Prev by Date: Re: wtmp
- Next by Date: OOM killer "Out of Memory: Killed process" SOLUTIONS / SUMMARY
- Previous by thread: Re: wtmp
- Next by thread: MS Exchange to MBOX
- Index(es):
Relevant Pages
|