Smylers wrote:
Andy Armstrong writes:
On 12 Jan 2010, at 16:59, [email protected] 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 install.
Though that can be irritating if your install hangs at that point,
waiting for you to provide a password. An alternative is to
pre-authenticate sudo with the -v flag, so that even the first install
will become root without prompting:
% sudo -v && cpan Acme::MetaSyntactic
Smylers
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 install.
I don't think it's reasonable to expect either module authors or end
users to know the vagaries of every possible flag. And, even if you
argue it _is_ reasonable, it's still not going to happen.
The right thing should be done by the software as much as possible.
Austin