Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!tut.cis.ohio-state.edu!att!chinet!pdg From: pdg@chinet.chi.il.us (Paul Guthrie) Newsgroups: alt.sources Subject: Re: Need a "watching" program Message-ID: <8447@chinet.chi.il.us> Date: 13 May 89 22:05:50 GMT References: <8923@csli.Stanford.EDU> <11680@s.ms.uky.edu> <51152@aerospace.AERO.ORG> <6857@cbmvax.UUCP> Reply-To: pdg@chinet.chi.il.us (Paul Guthrie) Distribution: usa Organization: The League of Crafty Hackers Lines: 17 >In article <8923@csli.Stanford.EDU> rustcat@csli.stanford.edu (Vallury >Prabhakar) writes: >> I was wondering if there is any way of keeping track of any/every body who >> looks around in my home directory? 'twould be nice if this program could >> create and append to a logfile, each time some user chdir-ed to my $HOME. I made mods to AT&T's sysmon for DMDs to do this. It just built an inode list at startup, and every minute poked into /dev/kmem to look for this in the user structures. Not too tough, and effective (if people are there for while the lookup occurs). Of course this does not catch 'ls ~pdg'. I've always found that with the way most bozos have their paths set up a shell script called 'ls' in the home directory is quite effective. -- Paul Guthrie chinet!nsacray!paul