aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-02-19 09:28:41 +0000
committerMike McQuaid2015-02-19 09:28:41 +0000
commit46bf8ff9972ff04388c4b25bc4c94285ebd851e6 (patch)
treefad08c85825702c9044ec4e1f755f846e617aedf /Library
parent299f8a27d17ce93c2c7dd8bb5719cd6a3152305e (diff)
downloadhomebrew-46bf8ff9972ff04388c4b25bc4c94285ebd851e6.tar.bz2
iftop: recommend sudo instead of setuid.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/iftop.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/iftop.rb b/Library/Formula/iftop.rb
index 6a3db26d4..20a374ae3 100644
--- a/Library/Formula/iftop.rb
+++ b/Library/Formula/iftop.rb
@@ -16,15 +16,8 @@ class Iftop < Formula
end
def caveats; <<-EOS.undent
- iftop 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}/iftop
- sudo chmod u+s #{sbin}/iftop
-
- In any case, you should be certain that you trust the software you
- are executing with elevated privileges.
+ iftop requires root privileges so you will need to run `sudo iftop`.
+ You should be certain that you trust any software you grant root privileges.
EOS
end
-
end