home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:9381 comp.unix.programmer:3888 comp.unix.wizards:3294
- Newsgroups: comp.unix.questions,comp.unix.programmer,comp.unix.wizards
- Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!wupost!news.utdallas.edu!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: Making ``.plan'' EXECUTE a Program ???
- Message-ID: <1992Jul24.131605.8213@news.eng.convex.com>
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Nntp-Posting-Host: pixel.convex.com
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- Organization: CONVEX Realtime Development, Colorado Springs, CO
- References: <1992Jul23.121607.23500@oucsace.cs.ohiou.edu> <1992Jul23.215029.17415@aston.ac.uk>
- Date: Fri, 24 Jul 1992 13:16:05 GMT
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 29
-
- From the keyboard of evansmp@uhura.aston.ac.uk (Mark Evans):
- :sadkins@bigbird.cs.ohiou.edu (Scott W. Adkins) writes:
- ::
- :: The user's .plan or .project file cannot be a link to another file. If
- :: either of these files is something other than a regular file, it will be
- :: ignored.
- :
- :This is because it was possible to do the following
- :ln -s <any file> ~/.plan
- :finger <my username>
- :and read any file on the system on some versions of unix.
- :The simplist fix is to just have fingerd refuse to read anything not a regular
- :file.
-
- Seem to me that doing this in fingerd:
-
- if (fork) return;
- setuid(-2);
- (do file reading
- exit(0);
-
- Would have been better.
-
- --tom
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
-
-
- And on the seventh day, He exited from append mode.
-