can ping as root, but not as normal user

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

can ping as root, but not as normal user

G.Bitzer
Hi List,

I have installed munin on my Alix with VL 0.10. I want to use it's
multiping plugin, but it does not work. A look into the plugin shows,
that it uses the ping binary of the system.

Doing ping's as root works:

ping www.nytimes.com
PING www.gtm.nytimes.com (170.149.168.130) 56(84) bytes of data.
64 bytes from 170.149.168.130: icmp_seq=1 ttl=245 time=110 ms
64 bytes from 170.149.168.130: icmp_seq=2 ttl=245 time=109 ms
64 bytes from 170.149.168.130: icmp_seq=3 ttl=245 time=110 ms
^C
--- www.gtm.nytimes.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 109.960/110.318/110.652/0.476 ms

But not using the munin account:

munin@alix:~$ ping www.nytimes.com
ping: icmp open socket: Operation not permitted

A common cause of this behaviour is a missing suid bit of the ping
binary, but not with VL:

ll /bin/ping
-rwsr-xr-x 1 1000 1000 43056 Nov  8  2014 /bin/ping*

In fact the suid bit was not set, but adding it does not help :-(

So the question is, what can I do to get ping working for non-root users ?

Thanks in advance


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux