Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: When i am installing an Digest::SHA1 module i am getting an error like this so anyone can help on this.

by hippo (Bishop)
on May 16, 2022 at 22:21 UTC ( [id://11143931]=note: print w/replies, xml ) Need Help??


in reply to Re^2: When i am installing an Digest::SHA1 module i am getting an error like this so anyone can help on this.
in thread When i am installing an Digest::SHA1 module i am getting an error like this so anyone can help on this.

Those are all good points (++).

Nevertheless, I remain of the opinion that using sudo only when actually required does help to minimise the possibility of problems arising. Such problems may be caused by malice but also by incompetence either on the part of the distributor or on the part of the user (such as running the command in the wrong directory/window/VM/whatever or just with a typo). It is (IMHO) a good habit to acquire.

Additionally, a properly paranoid user won't use elevated privileges at any point in the installation process. Instead they will choose to install into a directory where their unprivileged user has the required write access (eg. with local::lib, perlbrew, etc.). That's probably as much mitigation as the average user will ever need or accept. It's always a trade-off between security and convenience after all.


🦛

  • Comment on Re^3: When i am installing an Digest::SHA1 module i am getting an error like this so anyone can help on this.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143931]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found