SUMMARY: Solaris 2.3 Setuid Scripts

From: Bert Robbins (
Date: Wed Dec 21 1994 - 21:46:00 CST

> Original Question:
> Any information on getting a script to run setuid
> will be greatly appreciated.

Yes, I know this is a security risk.
No, I can't use a C wrapper program.

The winners are:

    Ensure that the first line is:

    #!/bin/sh -p

    And, of course, do a chmod u+s

    Ensure that the first line is:

    #!/bin/csh -fb

    And, again, do a chmod u+s

Thanks to the responders:
David Mostardi <>
Dan Stromberg - OAC-CSG <>
Mike Dubman <>
clwillia <> (Kevin Sheehan {Consulting Poster Child}) ( Andy J. Stefancik 237-2164 ) (Mark S. Anderson)
Richard Pieri <> (tommy hill)

And thanks to any responses I have yet to receive.

Bert Robbins                             Newbridge Networks Inc.                   593 Herndon Pwky
703 708-5949                             Herndon, VA 22070

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:17 CDT