Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ping: icmp open socket: Operation not permitted

250 views
Skip to first unread message

Solar

unread,
Mar 15, 2004, 2:06:53 PM3/15/04
to
Hi,

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

yh...@eymdoo.com

unread,
Mar 15, 2004, 4:17:26 PM3/15/04
to
|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
|...

/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
--

Solar

unread,
Mar 15, 2004, 7:46:32 PM3/15/04
to

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

adm...@rpluoy.com

unread,
Mar 15, 2004, 8:18:06 PM3/15/04
to
|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?

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.
--

Solar

unread,
Mar 15, 2004, 9:12:47 PM3/15/04
to

That was the matter, thanks.

--
Solar

shadaba...@gmail.com

unread,
May 15, 2017, 3:19:44 AM5/15/17
to
#####################################################
Hi,

I also have same issue but in my case there is no such "/etc/permissions.paranoid" file.Please suggest me what i should take action.

Regards
Shadab Akhtar

Carlos E. R.

unread,
May 15, 2017, 7:51:54 PM5/15/17
to
No.

You are replying to a post from 2004.

Make the effort of creating a new thread and explain fully your issue,
with a current openSUSE release.

--
Cheers,
Carlos E.R.
0 new messages