home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!news.tufts.edu!news.tufts.edu!rdorich
- From: rdorich@jade.tufts.edu (Rob)
- Newsgroups: comp.unix.questions
- Subject: Re: Want to know if fingered
- Message-ID: <RDORICH.92Sep14203739@jade.tufts.edu>
- Date: 15 Sep 92 00:47:57 GMT
- References: <1992Sep14.212435.20411@cmcl2.nyu.edu>
- Sender: news@news.tufts.edu (USENET News System)
- Organization: Tufts University - Medford, MA
- Lines: 30
- In-Reply-To: memco@cns.nyu.edu's message of 14 Sep 92 21:24:35 GMT
-
- This is actually mentioned somewhere in a FAQ to some extent. What
- you have to do is to make your .plan file into a socket file try man
- mknod for this (and use mknod file p).
-
- Then all you have to do is have another file trying to write to this
- socket, followed by anything you'd like to do... this could be an
- example:
-
- #.plan is a socket
- echo a >> .plan
- echo Yout were paged at `date` by `w | grep $user | awk '{print $1}' |
- grep -v $user` >> $home/log
-
- Oh, this method is not fully portable, it varies between systems...
- I have experienced the following experiences:
-
- mknod is out of my reach;
- finger will only read .plan if it's a text file.
-
-
- Good luck
-
-
- --
-
- -------------------------------------------------------------------------------
- Roberto Dorich | /~~ \ / ~~/~~ /~~/ /~~ /| / /~~
- | SKI /-- X / /__/ /-- / |/ | /--
- rdorich@jade.tufts.edu | /__ / \ / /\ /__ / | /__
- -------------------------------------------------------------------------------
-