Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site ucbcad.UUCP
Path: utzoo!linus!philabs!cmcl2!floyd!vax135!cornell!uw-beaver!tektronix!ucbcad!kalash
From: kalash@ucbcad.UUCP
Newsgroups: net.unix-wizards
Subject: Re: Does 4.1BSD have a restricted shell? - (nf)
Message-ID: <191@ucbcad.UUCP>
Date: Thu, 30-Jun-83 12:38:53 EDT
Article-I.D.: ucbcad.191
Posted: Thu Jun 30 12:38:53 1983
Date-Received: Fri, 1-Jul-83 22:26:54 EDT
Sender: notes@ucbcad.UUCP
Organization: UC Berkeley, CAD Group
Lines: 12

#R:houxf:-35000:ucbcad:2600003:000:395
ucbcad!kalash    Jun 30 09:31:00 1983

	Actually the '-r' option to /bin/sh makes an almost useless restricted
shell. While you can't execute programs that begin with '/', you CAN change your
PATH variable. This sort of removes a lot of the restrictions. Does anyone know
about all the things sh will restrict? As far as I have ever been able to 
determine it is a totaly undocumented feature of the shell (at least on 4.x).

			Joe