N
nan li
Has any one had problem when running perldoc as root ?
I have some embedded POD at the end of the file 'x.pl'.
When I use my regular account, 'perldoc x.pl' is just fine.
But when I switch to 'root', the same line above gives me
'No documentation found for x.pl'.
I found in the man page the following warning:
Because perldoc does not run properly tainted, and is known
to have security issues, when run as the superuser it will
attempt to drop privileges by setting the effectiveand real IDs
to nobody's or nouser's account, or -2 if unavailable. If it
cannot relinquish its privileges, it will not run.
I don't know if that is relevant.
Thanks a lot,
Nan
I have some embedded POD at the end of the file 'x.pl'.
When I use my regular account, 'perldoc x.pl' is just fine.
But when I switch to 'root', the same line above gives me
'No documentation found for x.pl'.
I found in the man page the following warning:
Because perldoc does not run properly tainted, and is known
to have security issues, when run as the superuser it will
attempt to drop privileges by setting the effectiveand real IDs
to nobody's or nouser's account, or -2 if unavailable. If it
cannot relinquish its privileges, it will not run.
I don't know if that is relevant.
Thanks a lot,
Nan