Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Insecure $ENV{PATH}

by joe++ (Friar)
on Dec 10, 2002 at 16:35 UTC ( #218820=note: print w/replies, xml ) Need Help??


in reply to Insecure $ENV{PATH}

Apparently you made your script setuserid (under Solaris or the like, Linux doesn't let you IFAIK) and thus turned on Taint mode.

Quick fix: explicitly set your env like this:

$ENV{PATH} = '/bin:/usr/bin:/opt/bin'; # adapt as necessary
HTH!

--
Cheers, Joe

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://218820]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2018-07-19 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (405 votes). Check out past polls.

    Notices?