I'm trying to run a program that calls Net::Ping -
$p = Net::Ping->new('icmp', 5, $lping);
Works fine with permission 4755 and chowned to root on Solaris and Linux:
-rwsr-xr-x 1 root staff 3065 Apr 9 12:57 check-ping
but on MacOSX it dies at the above line with:
icmp ping requires root privilege at ./exp-check-ping line 54
I've even tried setting Ping.pm to root and 4755 (it doesn't have to be setuid in Solaris and Linux):
-rwsr--r-- 1 root wheel 59082 Dec 14 12:18 /opt/local/lib/perl5/5.12.3/Net/Ping.pm
Has anyone gotten Net::Ping to work with ICMP, running suid? I suspect a ACL or flag will get this working...
Thanks in advance,
-w
In reply to Net::Ping on Snow Leopard, setuid broken by wsanders
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |