Listings Question About Ping

Reindl Harald h.reindl at thelounge.net
Fri Dec 23 14:57:22 UTC 2011



Am 23.12.2011 15:47, schrieb Aaron Konstam:
> On Thu, 2011-12-22 at 23:55 -0500, Richard Heck wrote: 
>> On 12/22/2011 03:33 PM, Michael Cronenworth wrote:
>>> Richard Heck wrote:
>>>> When I do:
>>>>      ls /bin/ping
>>>> I get "ping" displayed with black text on a red background. I don't see
>>>> anything special about its permissions. What's up?
>>>
>>> Fedora switched[1] from using the suid-bit to capabilities. If you 
>>> wish to see capabilities you can run "getcap" on the file.
>>>
>>> $ getcap /bin/ping
>>>
>>> [1] http://fedoraproject.org/wiki/Features/RemoveSETUID
>>>
>> Thanks. I did eventually figure this out. Unfortunately, there doesn't 
>> seem to be much documentation about this particular set of colors, 
>> though it is reminiscent of what happens with e.g. mount and umount.
> 
> I guess I am thick because I can't understand the explanation in the web
> page above. An example or two might have helped.

you need to understand what SETUID and CAPABILITIES are
what examples are you expecting? these are technics

http://en.wikipedia.org/wiki/Setuid
http://kernel.org/doc/man-pages/online/pages/man7/capabilities.7.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20111223/aa32804e/attachment.sig>


More information about the users mailing list