Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* setuid on a shell script
@ 1998-05-29  4:00 Claire Harrison
  0 siblings, 0 replies; only message in thread
From: Claire Harrison @ 1998-05-29  4:00 UTC (permalink / raw)



Greetings,

I am trying to move a script from a Solaris box to Dec Unix 4.0d.  The
script is written in perl and was run with the setuid bit set on the
file so that it ran as root (yes, I did remember to remove write
permissions :-) )

All was good in the solaris world... but I copied it to my (brand-new)
Dec box and it won't run as root.

The permissions are:

-r-sr-xr-x   1 root     system       967 May 28 22:03 env.cgi

I have also tried a ksh script and it doesn't work either.

In both cases, the script executes - but it runs without the setuid
(i.e. as the executor rather than as the file owner).

Am I missing a security setting someplace?

Claire Harrison
Videotron Communications Ltd.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-29  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-29  4:00 setuid on a shell script Claire Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox