in reply to Net::Ping on Snow Leopard, setuid broken


I built an suid C wrapper for this, and:

YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!

Geez perl, no need to yell at me! So neither the perl that comes with MacOSX nor the "ports" perl has suidperl, so this version of perl cannot run suid perl programs.

Off to fiddle with sudo.
  • Comment on Re: Net::Ping on Snow Leopard, setuid broken

Replies are listed 'Best First'.
Re^2: Net::Ping on Snow Leopard, setuid broken
by Corion (Patriarch) on Apr 10, 2012 at 07:29 UTC

    suidperl is unsupported and has been removed from the Perl distribution since 5.12. The recommendation is to write a small C wrapper, I think.