Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!odin!moose.asd.sgi.com!jwag From: jwag@moose.asd.sgi.com (Chris Wagner) Newsgroups: comp.sys.sgi Subject: Re: wtmp removal unwanted. Message-ID: <1990Nov15.163316.14823@odin.corp.sgi.com> Date: 15 Nov 90 16:33:16 GMT References: <9011141926.AA19056@karron.med.nyu.edu> Sender: news@odin.corp.sgi.com (Net News) Reply-To: jwag@moose.asd.sgi.com (Chris Wagner) Organization: Silicon Graphics, Research & Development Lines: 15 In article <9011141926.AA19056@karron.med.nyu.edu>, karron@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