Shawn H Corey writes:
On 12-07-19 10:43 AM, Leon Timmermans wrote:
On Thu, Jul 19, 2012 at 1:38 AM, Shawn H Corey
shawnhco...@gmail.com wrote:
I tried installing Const::Fast and it runs sudo. Why is such a
blatant security risk in a CPAN module? And are there more?
Like others
On 12-07-19 11:34 AM, Smylers wrote:
Do you have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there any
lines mentioning sudo in there?
No, none. The only config files that have it are:
./perlbrew/build/perl-5.16.0/cpan/CPANPLUS/lib/CPANPLUS/Config.pm
Shawn H Corey writes:
On 12-07-19 11:34 AM, Smylers wrote:
Do you have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there
any lines mentioning sudo in there?
No, none.
Well that rules out one possibility, so we must be getting closer!
Please can you run:
$ cpan -J | grep sudo
On 12-07-19 01:07 PM, Smylers wrote:
Please can you run:
$ cpan -J | grep sudo
'mbuild_install_build_command' = 'sudo ./Build',
'make_install_make_command' = 'sudo /usr/bin/make',
and:
$ env | egrep -i 'perl|sudo'
As alluded to before by Serguei, 'make_install_make_command' had sudo, as well
as 'mbuild_install_build_command'. Talk to your sysadmin (unless you are that
person, then people will think you are crazy for talking to yourself).
(...and retitling this thread appropriately)
chris
On Jul 19,