[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: ping not allowed??
From:       "T.C. Hollingsworth" <tchollingsworth () gmail ! com>
Date:       2015-03-08 0:10:06
Message-ID: CAJVv0Ok5oFGvAudt41Lbm3ythBiT4SLT5m+B=AtBsEZqdHTRQw () mail ! gmail ! com
[Download RAW message or body]

On Sat, Mar 7, 2015 at 5:05 PM, jd1008 <jd1008@gmail.com> wrote:
> $ ping google.com
> ping: icmp open socket: Operation not permitted
>
> Is ping supposed to be an suid to root cmd?

No, it uses file capabilities to obtain only the specific permissions it needs.

You can set it straight by running as root:
# setcap cap_net_admin,cap_net_raw+ep /usr/bin/ping

-T.C.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic