OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq Archives: Re: irix-soundplayer.sh

Re: irix-soundplayer.sh


Subject: Re: irix-soundplayer.sh
From: Darren Reed (avalonCOOMBS.ANU.EDU.AU)
Date: Tue Jan 04 2000 - 18:58:55 CST


In some mail from pdaING.PUC.CL, sie said:
>
> > midikeys might not setuid these days but you get the idea...
>
> Worked fine on Irix 6.4 here... although i had to change csh to sh for some
> reason... csh returned permission denied, 4755 and all. I assume the fix is to
> take out the suid bit?

Your problem here is that various csh's won't run setuid-root scripts unless
you specify (I think) the -b flag. From the Solaris csh man page:

...
     -b Force a "break" from option processing. Subsequent
               command line arguments are not interpreted as C
               shell options. This allows the passing of options
               to a script without confusion. The shell does not
               run set-user-ID or set-group-ID scripts unless
               this option is present.
...

then again, maybe it was done deliberately to foil script kiddies ;)

Darren



This archive was generated by hypermail 2b27 : Tue Jan 04 2000 - 22:38:40 CST