Networking Forums

Networking Forums > Computer Networking > Linux Networking > traceroute doesn't work as a normal user

Reply
Thread Tools Display Modes

traceroute doesn't work as a normal user

 
 
Tetsuji Rai
Guest
Posts: n/a

 
      05-08-2004, 03:22 PM
Hi,
When I use traceroute before, it works as a normal user. However now it
doesn't work as a normal user. As far as I tested only root can use it.
The error message as a normal user is:
----snip----
traceroute: icmp socket: Operation not permitted
----snip end---

What's wrong?? What privilege is necessary or using icmp requres any
privilege? it sounds strange to me.

I use debian linux (testing, sarge)

TIA
--
Tetsuji Rai (in Tokyo) aka AF-One (Athlete's Foot-One)
Born to be the luckiest guy in the world! May the Force be with me!
http://www.geocities.com/tetsuji_rai
http://setiathome.ssl.berkeley.edu/f...edback&id=1855
fax: 1-516-706-0320
 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      05-08-2004, 11:38 PM
On Sun, 09 May 2004 00:22:46 +0900, Tetsuji Rai
<t-(E-Mail Removed)> wrote:
> Hi,
> When I use traceroute before, it works as a normal user. However now it
> doesn't work as a normal user. As far as I tested only root can use it.
> The error message as a normal user is:
> ----snip----
> traceroute: icmp socket: Operation not permitted
> ----snip end---
>
> What's wrong?? What privilege is necessary or using icmp requres any
> privilege? it sounds strange to me.
>
> I use debian linux (testing, sarge)
>

When I follow the links I get:
lrwxrwxrwx 1 root root 28 2003-04-07 01:31
/usr/bin/traceroute -> /etc/alternatives/traceroute*
lrwxrwxrwx 1 root root 23 2004-04-03 16:44
/etc/alternatives/traceroute -> /usr/bin/traceroute.lbl*
-rwsr-xr-x 1 root root 18136 2004-03-20 03:41
/usr/bin/traceroute.lbl*
So, traceroute (or at least traceroute.lbl) needs setuid permission.


--
Mission Accomplished: Saddam Hussein no longer rules Iraq.
All hail George Bush, the new Saddam!
 
Reply With Quote
 
Tetsuji Rai
Guest
Posts: n/a

 
      05-09-2004, 02:55 AM
Bill Marcum wrote:

> When I follow the links I get:
> lrwxrwxrwx 1 root root 28 2003-04-07 01:31
> /usr/bin/traceroute -> /etc/alternatives/traceroute*
> lrwxrwxrwx 1 root root 23 2004-04-03 16:44
> /etc/alternatives/traceroute -> /usr/bin/traceroute.lbl*
> -rwsr-xr-x 1 root root 18136 2004-03-20 03:41
> /usr/bin/traceroute.lbl*
> So, traceroute (or at least traceroute.lbl) needs setuid permission.
>
>


Thanks for the hint. In my case, traceroute-nanog was installed, and my
link leads to /usr/bin/traceroute-nanog and it makes the problem. I purged
traceroute-nanog and it works fine now.

-Tetsuji Rai
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable RAW socket for normal user Uwe Klatt Windows Networking 1 07-11-2007 02:57 PM
slow dsl/traceroute doesn't work Nicolas Weber Linux Networking 3 04-23-2004 07:34 PM
dialup as a normal user * Tong * Linux Networking 6 11-02-2003 04:19 AM
can't connect via ssh as a normal user nicolas Linux Networking 1 11-01-2003 11:20 PM
Ping works, traceroute doesn't Sean Evans Linux Networking 12 08-11-2003 04:20 PM



1 2 3 4 5 6 7 8 9 10 11