From 6d3673bc66e653a9e604c8a998d10922fe712516 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 19 Feb 2015 09:28:51 +0000 Subject: [PATCH] mtr: recommend sudo instead of setuid. --- Formula/mtr.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Formula/mtr.rb b/Formula/mtr.rb index 18fbd6d36c..3607d58536 100644 --- a/Formula/mtr.rb +++ b/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