Insecure $ENV{PATH} while running setuid at /usr/sbin/amstatus line 60.
Here are the local lines from amstatus:
56 if ( ! -d "$confdir/$conf" ) {
57 die "amstatus$suf: could not find directory $confdir/$conf";
58 }
59
60 $pwd = `pwd`;
61 chomp $pwd;
62 chdir "$confdir/$conf";
The error that is thrown seems unusal for such a simple command.
Anyone seen this before or have any suggestions?