in reply to Need help getting rid of taint

Where am I missing the taint in my code?
Taint is enabled if your program is setuid or setgid.

And Perl is saving your ass by refusing to run a setuid/setgid program anyone may have modified.

Replies are listed 'Best First'.
Re^2: Need help getting rid of taint
by whollycow (Initiate) on May 13, 2009 at 23:00 UTC
    So, I guess I'm not sure I understand setuid. The script had worked just fine until Centos updated to 5.3 and now it has stopped working. From what I've gleaned online, you can still run a setuid script if you clean any outside information (in my case, the arguments passed with the script). That's what I thought I had done but apparently that's not all there is to it. What else needs to be done?
      What else needs to be done?
      What part of Setuid/gid script is writable by world is unclear to you? And what part of the explaination in man perldiag do you not understand?