Re: setuid

Alan Brown (
22 Mar 1997 05:46:16 +1200

In article <Pine.SUN.3.91.970320193248.23811A-100000@sparc1>,
Helmut Riegler <> 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.


o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See and
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.