Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.bugs.4bsd Subject: Re: tip shell escape (4.3BSD) Message-ID: <3425@umcp-cs.UUCP> Date: Sun, 14-Sep-86 10:11:26 EDT Article-I.D.: umcp-cs.3425 Posted: Sun Sep 14 10:11:26 1986 Date-Received: Sun, 14-Sep-86 23:39:18 EDT References: <600@varian.UUCP> <3000009@inmet> Reply-To: chris@umcp-cs.UUCP (Chris Torek) Organization: University of Maryland, Dept. of Computer Sci. Lines: 21 In article <3000009@inmet> nrh@inmet.UUCP writes: >Subject: Re: Orphaned Response Someone at inmet should look into installing the current version of notesfiles, to help eliminate the `Orphaned Response' plague. [changes to tip:] >+ setuid(getuid()); /* Avoid "permission denied" problem */ >+ setgid(getgid()); /* ditto? */ If you intend to set both user and group IDs, you should do this in the other order. This is likely to work for tip (which is not setgid) or under 4.2/4.3BSD (where setregid allows either egid or rgid to be specified for both), but breaks on V7ish systems (including 4.1BSD). As to the original bug, I have no idea what is wrong; we do not use tip. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu