Re: wtmp

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

 



On 8/9/07, Paula J. Lindsay <paula@xxxxxxxxxxx> wrote:
>
> Hi everyone,
> 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
>
> --
> --*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>   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
>


The wtmp file rotation is controlled by the logrotate package. The
/etc/logrotate.conf file controls how many previous rotations to keep. Take
a look.

Romeo


-- 
Romeo Theriault
System Administrator
University of Maine at Fort Kent
Ph#: 207-834-7815
Em@: romeo.theriault@xxxxxxxxx
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux