Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!decwrl!ucbvax!CCU1.AUKUNI.AC.NZ!russell From: russell@CCU1.AUKUNI.AC.NZ Newsgroups: comp.sys.sgi Subject: Re: setting SUID for scripts Message-ID: <9007292052.AA21084@ccu1.aukuni.ac.nz> Date: 29 Jul 90 22:53:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 25 X-Unparsable-Date: Mon, 30 Jul 90 08:52:16 NZT > > I am trying to set the SUID on a shell script. > It appears beeing set with the ls command, but has no effect. > Is it the case on this system that one can only SUID on programs,and not > on scripts??? > What release of Irix are you running? I beleive that SGI have done something that affects suid on shell scripts at 3.3. This is because it is a known loophole in unix security. At 3.3 I think that it is a kernal option and that it will be removed altogether at V.4. I remember this from reading the 3.3 release notes. (We don't have 3.3 yet.) Could somebody from SGI confirm? Cheers, Russell. -- +-----------------------------------------------------------------+ | Russell Fulton 'phone +64 9 737-999 x 8955 | | Computer Centre domain rj_fulton@aukuni.ac.nz | | University of Auckland fax +64 9 303-2467 | | Private Bag time gmt -12 (13) (summer time)| | Auckland, New Zealand. | +-----------------------------------------------------------------+