How can I grant access to Apache/PHP to use the nping -icmp command without putting the www user into the sudo group?
Is it even possible?
What I want is to give PHP the ability to quickly ping it's own subnet to look for devices that may have gone offline recently. The best route I've discovered so far is using nping, but when I give it the -icmp flag it requires root power.
Any idea why this is and how I can get around it?
|