Fri Oct 29 06:47:11 2010: Request 62552 was acted upon.
Transaction: Ticket created by arost
Queue: PAR-Packer
Subject: disabling taint mode (or: passing options from PERLRUN(1))
Broken in: (no value)
Severity: Important
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62552 >
Dear *,
I have a pp'ed binary (on Linux) which is suid root.
How can I disable taint checks for that "binary"?
Passing "-X -U" to Perl (when not using PAR::pp) does the job - but how
would I pass those flags to Perl in a pp'ed binary?
(I tried adding the options to the shebang line of the original script,
but that did not work.)
Thanks for your help!
Cheers,
/alex
PS
Slightly more background on usage scenario, if needed, can be found
here:
http://perlmonks.org/index.pl?node_id=868081