aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-02-19 09:28:51 +0000
committerMike McQuaid2015-02-19 09:28:51 +0000
commitf640a9be2d08f3de777f8be74a8461e2247c2797 (patch)
treeb76dc92a8575b2c637f03a79baf4fe6df69c36fa /Library
parent46bf8ff9972ff04388c4b25bc4c94285ebd851e6 (diff)
downloadhomebrew-f640a9be2d08f3de777f8be74a8461e2247c2797.tar.bz2
mtr: recommend sudo instead of setuid.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mtr.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/Library/Formula/mtr.rb b/Library/Formula/mtr.rb
index 18fbd6d36..3607d5853 100644
--- a/Library/Formula/mtr.rb
+++ b/Library/Formula/mtr.rb
@@ -35,14 +35,8 @@ class Mtr < Formula
end
def caveats; <<-EOS.undent
- mtr requires superuser privileges. You can either run the program
- via `sudo`, or change its ownership to root and set the setuid bit:
-
- sudo chown root:wheel #{sbin}/mtr
- sudo chmod u+s #{sbin}/mtr
-
- In any case, you should be certain that you trust the software you
- are executing with elevated privileges.
+ mtr requires root privileges so you will need to run `sudo mtr`.
+ You should be certain that you trust any software you grant root privileges.
EOS
end
end