Does 4.1BSD have a restricted shell? - (nf)

kalash at ucbcad.UUCP kalash at ucbcad.UUCP
Fri Jul 1 02:38:53 AEST 1983


#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



More information about the Comp.unix.wizards mailing list