develooper Front page | perl.perl5.porters | Postings from April 2003

Re: perldoc -U doesn't run in insecure mode

Thread Previous
Michael G Schwern
April 28, 2003 20:53
Re: perldoc -U doesn't run in insecure mode
Message ID:
On Mon, Apr 28, 2003 at 10:21:06AM -0500, Tom McLane wrote:
> I'm trying to figure out why this is broken in AIX 5.2 (Perl 5.8.0).  As of 
> right now, I can't run perldoc -U as root... I get the same error message:
> # whoami
> root
> # perldoc -U Carp
> Superuser must not run /usr/bin/perldoc without security audit and taint checks.

You probably have Pod::Perldoc installed aka perldoc version 3.  Check
perldoc -v.  It will look something like:

$ perldoc -v
Ending switch processing.  Args are [] with 0 errors.
/usr/bin/perldoc => Pod::Perldoc v3.08

-U was removed from 3.0 somewhat prematurely.  The bug report, and a
patch reinstating it, is here:

Don't ask me lady, I live in beer.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About