Menu

#1 insecure environment

open
nobody
None
5
2002-12-04
2002-12-04
No

$ENV{BASH_ENV} =~ /^(.*)$/;
local $ENV{BASH_ENV} = $1;

I had to add these lines on a RH 7.1 Linux box to get
it to work when running a shell command.

Discussion

  • Joel Peshkin

    Joel Peshkin - 2002-12-05

    Logged In: YES
    user_id=282031

    A few questions....

    What perl version?

    What was the error you received prior to that change?

     
  • Brett Porter

    Brett Porter - 2002-12-06

    Logged In: YES
    user_id=108080

    sorry, my initial comment wasn't very useful :)

    perl 5.6.1

    The error was "Insecure environment $ENV{BASH_ENV} when
    running with -T"

    I don't know very much about perl - but the above seemed to
    match what I found on google.

     

Log in to post a comment.