Not Necessarily a Bug (but worth reading)
Bill.Stewart.4K435.x0705
wcs at ho95e.UUCP
Wed Sep 25 03:41:58 AEST 1985
> A gotcha in the shell that almost caused me further permanent brain-damage:
>
> Not Necessarily a Description:
>
> /bin/sh in SYSVR2 will look for the character 'r' *anywhere* in it's
> argv[0] when it starts up and, upon finding one, will run in restricted
> mode.
> ...............
> -Barry Shein, Boston University
Hmmm.. it does seem to do that on my 3B20.
$ cp /bin/sh braindamage
$ braindamage
$ >junk
junk: restricted
So I tried it with ksh (the Korn Shell), and I didn't have this problem.
--
## Bill Stewart, AT&T Bell Labs, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs
More information about the Net.bugs.usg
mailing list