Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!star.cs.vu.nl!gpvos From: gpvos@cs.vu.nl (Gerben 'P' Vos) Newsgroups: comp.unix.misc Subject: Re: Who's in my Directory ? Message-ID: <8314@star.cs.vu.nl> Date: 21 Nov 90 13:13:28 GMT References: <1990Nov21.004657.10564@mcs.kent.edu> <1990Nov21.013355.16798@maverick.ksu.ksu.edu> Sender: news@cs.vu.nl Lines: 18 jxf@castor.cis.ksu.edu (Jerry Frain) writes: >It isn't possible in any conventional way that I know of, however, a >friend of mine once create an 'ls' binary that he placed in his home >directory which logged a message to some predetermined log file, and >then exec'd /bin/ls with the original arguments. >Doesn't work if they have /bin in their path before '.', though, but >it still caught a lot of people snooping. I know a student around here with an "ls" shellscript in their home directory, which *copied your mailbox* into a subdirectory, so he could read it. The moral of this story: have ls aliased to /bin/ls or have /bin before . in your $PATH. - Gerben. -- --- Gerben Vos - Aconet: BIGBEN!Gerben Vos - Internet: gpvos@cs.vu.nl ---- Definition of intelligence: Anything a human does better than a computer