Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!star.cs.vu.nl!rvdp From: rvdp@cs.vu.nl (Ronald van der Pol) Newsgroups: comp.sys.hp Subject: Re: indir and #! Keywords: can I enable it? Message-ID: <8531@star.cs.vu.nl> Date: 18 Dec 90 22:41:27 GMT References: <5713@uafhp.uark.edu> Sender: news@cs.vu.nl Lines: 25 award@uafhp.uark.edu (Sven Thjostarsson) writes: >I am trying to install indir on an HP 375. I have gotten it to compile, >but when I try to execute a script like: >#!/usr/local/bin/indir some list of arguments >My shell reports to me that the file cannot be executed. Is there >something I need to do to enable this or is it not supported under >HP-UX? Use the following syntax for setuid shellscripts: #!/usr/local/bin/indir -u #?/bin/sh /usr/local/bin/setuid_shellscript # # here starts your shellscript # Other options for indir(1) are -g, -n and -b. (see the manual page) -- Ronald van der Pol