From: Claire Harrison <claire@videotron.ab.ca>
Subject: setuid on a shell script
Date: 1998/05/29 [thread overview]
Message-ID: <356E3D15.3534383@videotron.ab.ca> (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.
reply other threads:[~1998-05-29 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox