When I try to ping any host I get such message:
solar@linux:~> ping localhost
ping: icmp open socket: Operation not permitted
Everything is ok from the root's account:
solar:~ # ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.141 ms
...
Any suggestions?
Regards
--
Solar
/bin/ping is setuid root. Did you somehow change the owner or the
permissions? It comes from the iputils package so you can check the
consistency of this package with rpm -V iputils
--
Thanks for reply
I think I didn't change anything, but...
solar:~ # ls -la /bin/ping
-rwxr-xr-x 1 root root 31440 2003-03-14 01:16 /bin/ping
solar:~ # rpm -V iputils
.M...... /bin/ping
.M...... /bin/ping6
It looks for me that owner and permissions are ok, aren't they?
Did I miss something?
I reinstalled iputils package within yast, didn't help...:(
--
Solar
Well no, it's not setuid and rpm says that the modes have been changed.
What probably happened is that you have activated
/etc/permissions.paranoid which sets the permissions to not let normal
users use ping. If you want to make an exception for ping, edit
/etc/permissions.paranoid and rerun SuSEconfig.
--
That was the matter, thanks.
--
Solar