On 12 Jan 2010, at 16:59, [email protected] wrote:
> While the idea of using sudo only at install time is nice, there are two
> problems:
> 1. Some modules require extra privileges at test time

Do they? I've got 1213 distributions installed on this laptop. All using cpan 
and none of them required elevated privileges during testing. Which modules do 
this?

> 2. Far more impact is that sudo requires that you enter your password each
> time you invoke it.  Therefore you will have to enter your password once
> for each module you install. On any given module you may have 3 or 4
> prerequisites; if you update your modules to current once a quarter, you
> will have dozens to install.  Given the way that CPAN.pm operates you
> can't just keep going and add each blib to your @INC and only do one sudo
> session to run all the individual make installs.


Often sudo will be configured with a 15 minute grace period which means you 
only need to authenticate for the first make install / ./Build install.

-- 
Andy Armstrong, Hexten



Reply via email to