wtmp removal unwanted.

Chris Wagner jwag at moose.asd.sgi.com
Fri Nov 16 03:33:16 AEST 1990


In article <9011141926.AA19056 at karron.med.nyu.edu>,
karron at KARRON.MED.NYU.EDU writes:
> 
> I like to know who has logged on my machine, and I want to keep my wtmp file
> for at least a month or so.
> 
> I removed the garbage collection stuff in crontabs, but the file is
> removed/truncated at odd times, usually during the day. I have
> the accounting turned on. I am using IRIX 3.3.1
> 

Accounting is the culprit - check ~line 157 of /usr/lib/acct/runacct -
you could modify this to save the wtmp file to a archive version

Chris



More information about the Comp.sys.sgi mailing list