Results 1 to 6 of 6

Thread: traceroute -I Permission denied for root

  1. #1

    Default traceroute -I Permission denied for root

    As root I get the following result:

    ngssuse:~ # traceroute -nI 10.200.123.45
    Note: the -i and -I options were exchangedfor compability with LBL traceroute
    Use -I for ICMP, and -i <ifname> to specify the interface name
    unable to create ICMP send socket: Permission denied


    Is this a bug?

  2. #2
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: traceroute -I Permission denied for root

    On 04/08/2011 10:06 AM, hattons wrote:
    >
    > As root I get the following result:
    >
    > ngssuse:~ # traceroute -nI 10.200.123.45
    > Note: the -i and -I options were exchangedfor compability with LBL
    > traceroute
    > Use -I for ICMP, and -i<ifname> to specify the interface name
    > unable to create ICMP send socket: Permission denied
    >
    >
    > Is this a bug?


    For me, 'sudo traceroute -nI 192.168.1.50' works from my regular login. It
    appears to be a problem with your system, not a general one.

  3. #3

    Default Re: traceroute -I Permission denied for root

    What do you get from

    rpm -q --whatprovides traceroute

    ?

    I get net-tools-1.60-747.1.i586

    I am at the mercy of IPS devices which are preventing me from getting updates. I'm wondering if this might be an RPM version issue.

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: traceroute -I Permission denied for root

    On 04/08/2011 05:28 PM, Larry Finger wrote:

    > For me, 'sudo traceroute -nI 192.168.1.50' works from my regular login.
    > It appears to be a problem with your system, not a general one.


    but, you have 'hacked' your user PATH to include /usr/sbin/, _or_ you
    have set up /usr/sbin/traceroute in sudoers, or (maybe other things i
    don't know about), witness:

    Code:
    denverd@openSUSE11-3:~> sudo traceroute -nI 192.168.1.50
    root's password:
    sudo: traceroute: command not found
    denverd@openSUSE11-3:~> su -
    Password:
    openSUSE11-3:/ # traceroute -nI 192.168.1.50
    Note: the -i and -I options were exchangedfor compability with LBL
    traceroute
    Use -I for ICMP, and -i <ifname> to specify the interface name
    traceroute to 192.168.1.50 (192.168.1.50), 30 hops max, 40 byte packets
    using ICMP
    1  * * *
    <snip>
    NOTE: i do not know the answer to the OPs question...and, apparently
    neither does anyone else here: http://tinyurl.com/4ypnqns
    maybe this should be raised on the mail list...

    --
    CAVEAT: http://is.gd/bpoMD [NNTP via openSUSE 11.3 + KDE4.5.5 +
    Thunderbird3.1.8] Can you believe it? This guy Ralph wins $181 million
    in the lottery last Wednesday, and then finds the love of his life just
    2 days later. Talk about LUCK!

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: traceroute -I Permission denied for root

    This sounds like the same problem nrickert encountered in another thread not two days ago. Search for it.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,673
    Blog Entries
    3

    Default Re: traceroute -I Permission denied for root

    See this earlier thread:

    Is traceroute broken in 11.4?

    It has already been reported as a bug (see link in the old thread). The bug report lists the problem as "fixed" and gives a link to a test package. I don't know whether the fix will be pushed as an update to 11.4. In any case, the old thread explains what to do in apparmor settings to resolve the problem.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •