F15 ping must run as root?

Joachim Backes joachim.backes at rhrk.uni-kl.de
Mon Mar 14 12:08:17 UTC 2011

On 03/14/2011 12:49 PM, Jon Stanley wrote:
> On Mon, Mar 14, 2011 at 7:40 AM, Joachim Backes
> <joachim.backes at rhrk.uni-kl.de> wrote:
>> I saw that in F15 ping must be started with root rights, otherwhise I get:
>> ping: icmp open socket: Operation not permitted
> Ping has *always* needed root privs, it generally gets them by being
> suid root. Don't have an F15 box here handy to look, but I'm
> suspecting that either it somehow isn't suid root, or something else
> is preventing suid from working (no suid mount option? SELinux?)

1. SElinux is disabled
2. the fstab entry for / is equal to the F14 / fstab entry (without suid
mount) , but in F14 and previous fedora version I never had problems as
normal user with ping! But one thing is weird:

ls -l /bin/ping
-rwxr-xr-x. 1 backes backes 40840 Feb  9 17:00 /bin/ping


chown root.root /bin/ping

does not solve the problem, still "operation not permitted", even after
chmod u+s /bin/ping.

Kind regards

Joachim Backes <joachim.backes at rhrk.uni-kl.de>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6131 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110314/b43df4d6/attachment-0001.bin 

More information about the test mailing list