[UPHPU] Using exec() to ping?

dataw0lf digitalsuicide at gmail.com
Wed Apr 5 08:40:51 MDT 2006


Benjamin Schmuhl wrote:

>Aye, here's the rub!
>
>socket: Permission denied
>
>  
>
This means, most likely, that the suid bit for ping isn't set.  You can 
enable this by chmod +s `which ping`, but do so at your own 
discretion.   `suid` means that the program, rather than running under 
the user who invokes it, runs under the owner of the file (in this case, 
root.  Only root can open a raw socket). 


More information about the UPHPU mailing list