Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to ping one of my local host and checking CPU process to see how "Ping of death" attack behaves. I tried to ping my other PC which is in local network with IP Address. I tried this,

ping -l 5000

and I got error like this,

ping: -l flag: Operation not permitted

I am on MacOSX Lion. How can I remove this flag so machine can let me ping with preload?

Thanks for any direction!

share|improve this question
up vote 3 down vote accepted

I'm a bit out of touch with Lion but do you not need to use sudo for some of the more advanced ping options?

I've been using Ubuntu of late and I know I must use sudo to use the -i option to set a delay between pings of less than 0.2 seconds.

share|improve this answer
Exactly I needed sudo su, and than get more permission for power :) thanks – doNotCheckMyBlog Nov 22 '11 at 9:40
I can confirm this. I just tried it on my Lion box and it worked with sudo and gave the same "Permission denied" error without. – Ladadadada Nov 22 '11 at 9:40
sudo su, can you just sudo? Or where you being general there? :) – jwbensley Nov 22 '11 at 9:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.