ping problem

Bill Davidsen davidsen at tmr.com
Mon Jun 25 14:10:39 UTC 2012


JD wrote:
> On 06/25/2012 12:22 AM, Ed Greshko wrote:
>> On 06/25/2012 01:21 PM, JD wrote:
>>> fc16 with latest updates.
>>>
>>> Pinging my gateway:
>>> $ ping 192.168.42.129
>>> ping: icmp open socket: Operation not permitted
>>>
>>> Now as root:
>>>
>>> # ping 192.168.42.129
>>> PING 192.168.42.129 (192.168.42.129) 56(84) bytes of data.
>>> 64 bytes from 192.168.42.129: icmp_req=1 ttl=64 time=3.53 ms
>>> 64 bytes from 192.168.42.129: icmp_req=2 ttl=64 time=2.65 ms
>>> 64 bytes from 192.168.42.129: icmp_req=3 ttl=64 time=2.83 ms
>>>
>>> When was this change put in place?
>>>
>> It hasn't......  I say this since everything works just fine for me on my fully
>> updated f16 system.
>>
>> Assuming you have the default LS_COLORS defined when you do "ls /bin/ping" you
>> should
>> see it listed in black on a red background.
>>
>> If not, something has *been* changed.
>>
>> Now /bin/mount is in white on a red background which indicates the suid bit is
>> set.
>> I forget what black on a red background means.
>>
>> I suppose the easiest way to fix the issue would be to....
>>
>> yum reinstall iputils
>>
> $ alias ls
> alias ls='ls --color=auto'
> $ ls /bin/ping
> /bin/ping
>   appears in green color on white background. My gnome-terminal's profile is
> setup to have a white background.
>
> $ ls -l /bin/ping
> -rwxr-xr-x 1 root root 39344 Nov 10  2011 /bin/ping
>
> No suid.
>
> $ lsattr /bin/ping
> -------------e- /bin/ping
>
> Should I run relabel when system boots next time?
>
If you want it to work now, why not run it now?

I personally take a dim view of using colors instead of looking at permissions, 
attributes, and capabilities directly. Not only do you have to remember one more 
presentation to meaning layer, but many displays do a poor job of presenting 
pastel colors on white, so even the names are hard to read.

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot




More information about the users mailing list