Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: Re: Unexpected results from ping

by xmath (Hermit)
on Mar 04, 2003 at 15:19 UTC ( #240373=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Unexpected results from ping
in thread Unexpected results from ping

you can test it yourself by logging in as a non-root user and playing with the "ping" program

The "ping" utility is always setuid root:

[Quoose:~] xmath% ls -l `which ping` -r-sr-xr-x 1 root wheel 24920 Dec 23 15:17 /sbin/ping

That's why normal users can use it. :-)

Update: it seems that lately raw sockets are no longer needed for ICMP on some platforms (Darwin / Mac OS X); but on most (Linux etc) they still are

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240373]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-08-15 16:32 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (161 votes). Check out past polls.