Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!AVELON.LERC.NASA.GOV!fsfacca From: fsfacca@AVELON.LERC.NASA.GOV (Tony Facca) Newsgroups: comp.sys.sgi Subject: Re: setting SUID for scripts Message-ID: <9007301355.AA08987@avelon.lerc.nasa.gov> Date: 30 Jul 90 13:55:04 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 16 > 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??? In versions of IRIX prior to 3.3, you could use the "-b" switch on a C-Shell script (#! /bin/csh -b) to do this. I have read or heard that 3.3 won't allow SUID on scripts, so you'll have to use a C program with some system() calls or something to get the same results. -- ----------------------------------------------------------------------------- Tony Facca | fsfacca@avelon.lerc.nasa.gov | phone: 216-433-8318 ----------------------------------------------------------------------------- You are at Witt's end. Passages lead off in *all* directions.