Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am new to perl. I installed V5.0.8 on my Sun machine. Running perldoc with any paramater gives the following error:

Superuser must not run /usr/local/bin/perldoc without security audit and taint checks.

Does anyone know how to solve this?

Thanks.

Edit by tye

Replies are listed 'Best First'.
Re: perldoc
by Fletch (Bishop) on Feb 18, 2003 at 17:14 UTC

    Quoth perldoc perldoc:

    -U run insecurely Because perldoc does not run properly tainted, and is known to have security issues, it will not normally execute as the supe- ruser. If you use the -U flag, it will do so, but only after set- + ting the effective and real IDs to nobody's or nouser's account, or -2 if unavailable. If it cannot relinquish its privileges, it will not run.
Re: perldoc
by Tomte (Priest) on Feb 18, 2003 at 17:09 UTC

    Simple: Do as it says, don't run it as root!

    regards,
    tomte