Re: setuid

Alan Brown (alan@news.manawatu.gen.nz)
22 Mar 1997 05:46:16 +1200


In article <Pine.SUN.3.91.970320193248.23811A-100000@sparc1>,
Helmut Riegler <helmut@sparc1.fast.co.at> wrote:

>> as shell scripts and perl scripts cannot be run setuid, and that this is a
>> security feature of Unix, so I will have to compile my perl script into an
>> executable. Is there another way?
>
>There is no way to create setuid scripts.

Wrong - and possibly fatally so.

If you use sperl or use "#!/usr/bin/perl -s" you will be able to run suid.

AB

-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
o Junk email returned, in bulk, back to sender; w/copies to all postmasters.
o Received junkmail constitutes a request for aggressive site security probing.