Perl and SETUID script
Chuan Wang (whizkid2@worldnet.att.net)
Wed, 22 Jan 1997 21:49:00 -0800
I wonder if any guru there can help me with this problem:
I am getting messages like "Insecure $ENV{PATH}... " with a SETUID
scripts written in Perl. According to the reference book on PERL,
I should use a C wrapper around the SETUID script, (the C program
simply did a "execv($progname, argv)" ). But I am still getting
the same error message complaining "Insecure..."
I wonder if anyone also had any bad experience with this before and
how they solved the problem. I am sure that I have followed everything
on that Perl book (the one with a camel cover), but it's not working....
Thanks!
-chuan