Not Necessarily a Bug (but worth reading)

Mikel Manitius mikel at codas.UUCP
Fri Oct 4 11:02:10 AEST 1985


> Re: an 'r' anywhere in argv[0] will cause sh (SYSV) to run restricted
> 
> I have been told by ATTIS that this is considered a bug and will be
> fixed in a future release. So I guess it's Not Necessarily Not Necessarily
> a bug :-) Thank you ATTIS (and Guy Harris for pointing the same way.)
> 
> 	-Barry Shein, Boston University
> 
> P.S. that is, you can fix your shell or at least consider workarounds
> temporary (#ifdef NOTNECESSARILY....) The shell fix is trivial (if you
> have sources.)

Apparently someone was too lazy to scan only the last word of argv[0]
(a word being delimiterd by '/') for an 'r'. I don't see where someone
would really want to make another copy of sh, although /usr/rbin/sh is
a possibility.
-- 
                                        =======
     Mikel Manitius                   ==----=====    AT&T
     ...!{ihnp4!}codas!mikel         ==------=====   Information Systems 
     (305) 869-2462                  ===----======   SDSS Regional Support
     AT&T-IS ETN: 755                 ===========    Altamonte Springs, FL
     My opinions are my own.            =======



More information about the Net.bugs.usg mailing list