Re: irix-soundplayer.sh

From: Darren Reed (avalonat_private)
Date: Tue Jan 04 2000 - 16:58:55 PST

  • Next message: Henrik Nordstrom: "Re: Hotmail security hole - injecting JavaScript using <IMG"

    In some mail from pdaat_private, 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 2b30 : Fri Apr 13 2001 - 15:26:09 PDT