[H-GEN] Setting a Perl script suid

Paul Cornford cbecwd at bigpond.com
Wed Sep 10 02:28:44 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

I am trying to run a perl script SUID and whenever I try "perl -cw
<scriptname>' all I get is "Args must match #! at auction.pl line 1" -
which is true. I don't add the -c arg to my first line. But if I make
the args the same I get "Can't do setuid". I know running Perl scripts
SUID is tricky but does anyone know how I can do this? The script is
actually being run as a CGI (locally).

-- 
Paul Cornford
Web Programmer
Caboolture Business Enterprise Centre
39 Aerodrome Rd, Caboolture. 4510
Ph. 0754 991763


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list