Does 4.1BSD have a restricted shell?

goldfarb at ucf-cs.UUCP goldfarb at ucf-cs.UUCP
Wed Jun 29 16:37:59 AEST 1983


The Bourne shell distributed with 4.1bsd has the restricted shell
code in it.  All you have to do is include the line 'rflag=0' in
the initialization code in main.c.  Then make sure you set up
.profile in the home directory of the restricted login so that it
sets PATH to just the home directory (or some other one where you
don't keep 'dangerous' binaries).  rsh won't allow "chdir'ing," running
binaries whose names start with '/', etc.


--
Ben Goldfarb
uucp:  ...!duke!ucf-cs!goldfarb
ARPA:  goldfarb.ucf-cs at Rand-Relay



More information about the Comp.unix.wizards mailing list