On Wed, Mar 13, 2013 at 8:54 AM, Jay Ashworth <span dir="ltr"><<a href="mailto:jra@baylink.com" target="_blank">jra@baylink.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Note that mtr needs to be both setUID root *and* executable by Other</div>
in order to work for others than root, assuming you need that. Neither<br>
is default.</blockquote><div><br></div><div>Or even better, just use setcap to give it permission to open RAW sockets without having full root access.</div><div><br></div><div>setcap 'cap_net_raw=+ep' /usr/bin/mtr</div>
<div><br></div><div>That said, I've never seen an OS that included mtr that didn't have it setuid by defualt.</div><div><br></div><div> Scott</div><div><br></div></div>