On Sat, 4 Jan 2020, Mamoru TASAKA wrote:

> 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

  yes, i twigged to that shortly after asking ... i was just thrown
that that seems to be the only /usr/bin executable with that property,
which confused me.

rday
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to