wtmp removal unwanted
MattHew J. Wicks
wicks at DCDMJW.FNAL.GOV
Fri Nov 16 01:26:20 AEST 1990
>>From karron%CMCL2.NYU.EDU at cunyvm.cuny.edu Wed Nov 14 17:42:03 1990
>>Date: Wed, 14 Nov 90 14:26:04 EST
>>From: karron%karron.med.nyu.edu at cunyvm.cuny.edu
>>Subject: wtmp removal unwanted.
>>Reply-To: karron%CMCL2.NYU.EDU at cunyvm.cuny.edu
>>Message-Id: <9011141926.AA19056 at karron.med.nyu.edu>
>>
>>
>>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.
If your goal is simply to see who has logged into your machine (as opposed
to keeping wtmp around, you could enable logging of logins (successes and
failures in SYSLOG). Simply place the following line in
/etc/config/login.options
syslog=all
If you also want to see who is using ftp into your machine, your entry for
ftp in /usr/etc/inetd.conf should look like:
ftp stream tcp nowait root /usr/etc/ftpd ftpd -l
Make sure you execute "/etc/killall -1 inetd" after changing inetd.conf
Matt Wicks
Fermi National Accelerator Laboratory
708-840-8083
wicks at fnal.fnal.gov
More information about the Comp.sys.sgi
mailing list