diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/iftop.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/iftop.rb b/Library/Formula/iftop.rb index 5fd9bf93a..6b4deaefa 100644 --- a/Library/Formula/iftop.rb +++ b/Library/Formula/iftop.rb @@ -14,4 +14,16 @@ class Iftop < Formula "--mandir=#{man}" system "make install" 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. + EOS + end + end |
