🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.4bsd
Article #1672

Re: tip shell escape (4.3BSD)

#1672
From: Chris Torek
Date: Sun, 14 Sep 1986 14:11
21 lines
1398 bytes
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
Technical Details
Message-ID: <3425@umcp-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!umcp-cs!chris
References: <600@varian.UUCP> <3000009@inmet>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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