From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c4c5c788b6b60ae5,start X-Google-Attributes: gid1164f8,public From: Claire Harrison Subject: setuid on a shell script Date: 1998/05/29 Message-ID: <356E3D15.3534383@videotron.ab.ca>#1/1 X-Deja-AN: 357531883 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: @Home Network Canada MIME-Version: 1.0 NNTP-Posting-Date: Thu, 28 May 1998 21:40:03 PDT Newsgroups: comp.sys.dec 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.