in reply to Insecure $ENV{PATH} while running with -T switch
at the start of any script that runs with -T. You can add more directories to the path such as /usr/bin at your discretion, but the directories had best not be writable by malicious users.$ENV{PATH} = "/bin";
|
|---|