bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ping problem


From: Thomas Koeller
Subject: ping problem
Date: Tue, 10 Dec 2002 21:39:20 +0100
User-agent: KMail/1.4.3

Hi!

I just recently installed inetutils-1.4.1 (from sources) on my Linux system.
I am running gcc-3.2.1, glibc-2.3.1 and kernel 2.4.20. After the installation
I found that I cannot run the 'ping' program as an ordinary (non-root) user,
even though ping is installed setuid root:

~ $ ping estrella
ping: ping must run as root
can't init ping: Operation not permitted
~ $ which ping
/usr/bin/ping
~ $ ls -l /usr/bin/ping
-rwsrwxr-x   1 root     root        36035 Dec 10 00:10 /usr/bin/ping
~ $ su -c "ping -c3 estrella"
Password:
PING estrella.koeller.dyndns.org (192.168.0.3): 56 data bytes
64 bytes from 192.168.0.3: icmp_seq=0 ttl=128 time=0.374 ms
64 bytes from 192.168.0.3: icmp_seq=1 ttl=128 time=0.288 ms
64 bytes from 192.168.0.3: icmp_seq=2 ttl=128 time=0.296 ms
64 bytes from 192.168.0.3: icmp_seq=3 ttl=128 time=0.275 ms
64 bytes from 192.168.0.3: icmp_seq=4 ttl=128 time=0.231 ms
64 bytes from 192.168.0.3: icmp_seq=5 ttl=128 time=0.288 ms
64 bytes from 192.168.0.3: icmp_seq=6 ttl=128 time=0.301 ms
64 bytes from 192.168.0.3: icmp_seq=7 ttl=128 time=0.243 ms
--- estrella.koeller.dyndns.org ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.231/0.287/0.374/0.040 ms

As can be seen, I can run ping as root (but then the -c switch
doesn't seem to be working).

-- 
Thomas Koeller
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]