Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site codas.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!akguc!codas!mikel From: mikel@codas.UUCP (Mikel Manitius) Newsgroups: net.bugs.usg Subject: Re: Not Necessarily a Bug (but worth reading) Message-ID: <135@codas.UUCP> Date: Thu, 3-Oct-85 21:02:10 EDT Article-I.D.: codas.135 Posted: Thu Oct 3 21:02:10 1985 Date-Received: Mon, 7-Oct-85 03:51:51 EDT References: <668@bu-cs.UUCP>, <189@ho95e.UUCP> <687@bu-cs.UUCP> Organization: AT&T Information Systems (SDSS) - Orlando Lines: 23 > 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. =======