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