Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://240373]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-10-24 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?