# from Shawn H Corey
# on Sunday 10 January 2010 08:11:
$ sudo cpan
This exposes your system to any bugs in the test suite (an accidental
`rm -rf /` has happened before) with root privileges. With a modern
CPAN client, you can set it to use sudo only at install time with the
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
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
On 12 Jan 2010, at 16:59, dhu...@hudes.org 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
dhu...@hudes.org 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
2. Far more impact is that sudo requires that you enter your password each
time you invoke it. Therefore you will have to enter
On 12 Jan 2010, at 17:23, Dana Hudes wrote:
Rebuilding a few hundred modules will take more than 15 minutes, especially
if you have to download each one. I suppose you could modify sudoes to make
it 8 hours.
The timeout is reset each time sudo is used - so a shorter timeout is usually
OK.
Andy Armstrong writes:
On 12 Jan 2010, at 16:59, dhu...@hudes.org wrote:
sudo requires that you enter your password each time you invoke it.
Often sudo will be configured with a 15 minute grace period which
means you only need to authenticate for the first make install /
./Build
On Tue, Jan 12, 2010 at 08:59:46AM -0800, dhu...@hudes.org 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
This is true. Have a look to see if CPAN distprefs will let you
temporarily override the
Smylers wrote:
Andy Armstrong writes:
On 12 Jan 2010, at 16:59, dhu...@hudes.org wrote:
sudo requires that you enter your password each time you invoke it.
Often sudo will be configured with a 15 minute grace period which
means you only need to authenticate for the first make install /
# from Austin Schutz
# on Tuesday 12 January 2010 10:08:
Seems like it would be nice if the build system understood appropriate
behavior for the root user and acted accordingly. That is: given
superuser access privileges should be lowered by default during the
build process, but elevated for
Excerpts from dhudes's message of Tue Jan 12 11:59:46 -0500 2010:
2. Far more impact is that sudo requires that you enter your password each
time you invoke it.
No it doesn't. Read sudo(8). By default, you only have to enter it once every
15 minutes.
hdp.
Rebuilding a few hundred modules will take more than 15 minutes, especially if
you have to download each one. I suppose you could modify sudoes to make it 8
hours.
--Original Message--
From: Andy Armstrong
To: dhu...@hudes.org
Cc: Eric Wilhelm
Cc: module-authors@perl.org
Sent: Jan 12,
Dana Hudes wrote:
Rebuilding a few hundred modules will take more than 15 minutes, especially
if you have to download each one. I suppose you could modify sudoes to make
it 8 hours.
Once you start cpan with sudo, it will continue to run until you quit.
Any program started with sudo runs as
12 matches
Mail list logo