From 46bf8ff9972ff04388c4b25bc4c94285ebd851e6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 19 Feb 2015 09:28:41 +0000 Subject: iftop: recommend sudo instead of setuid. --- Library/Formula/iftop.rb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3