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
Report Content as Inappropriate

can ping as root, but not as normal user

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 ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=245 time=110 ms
64 bytes from icmp_seq=2 ttl=245 time=109 ms
64 bytes from icmp_seq=3 ttl=245 time=110 ms
--- 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
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]