ZEN-10565: ping needs root privileges, use sudo
use sudo -n to not prompt; do not use sudo for ping if setuid
mimic ping with ping6
Merge pull request #142 from zenoss/feature/ZEN-10565

ZEN-10565: ping needs root privileges, use sudo