Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Insecure $ENV{PATH}

by joe++ (Friar)
on Dec 10, 2002 at 16:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://218820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found