Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Unexpected results from ping

by xmath (Hermit)
on Mar 04, 2003 at 15:19 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-24 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found