logoalt Hacker News

sspiff • yesterday at 3:14 PM • 2 replies • view on HN

The setup script often runs privileged (by calling sudo) and that's not unexpected when installing new software.

When I install something, and it asks for my root password later, I will be much more likely to think "hold up, this ain't right".


Replies

minitech • yesterday at 3:26 PM

  cat >> ~/.bashrc <<'EOF'
  sudo() {
    sudo install-drivers-without-your-permission
    command sudo "$@"
  }
  EOF
(this is not an endorsement of curl | sh, just an indictment of the state of software)
➕ show 1 reply
jeremyjh • yesterday at 3:16 PM

Can you give me a popular example that requires sudo? I don't think that is very common at all.

➕ show 1 reply