Robert P. J. Day wrote on 2020/01/04 23:34:
On Sat, 4 Jan 2020, Robert P. J. Day wrote:
i'm puzzled by something i just tripped over on my fully-updated f31
system ... while mucking around with some networking, i happened to
run:
$ ls -l /usr/bin/ping
and was surprised to see it rendered in the colour scheme (yellow
letters on red background) normally reserved for setuid executables. i
looked closer but saw nothing amiss:
$ ls -l /usr/bin/ping
-rwxr-xr-x. 1 root root 83136 Jul 25 13:28 /usr/bin/ping
$
running "lsattr" on that executable didn't seem to show anything
unusual, and all of the other executables under /usr/bin that are
rendered in that colour scheme are, indeed, setuid. am i
misunderstanding something really trivial?
oh, wait, this is a capabilities thing, isn't it?
Exactly. You can check this by
$ getcap /usr/bin/ping
Regards,
Mamoru
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx