Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 192.168.44.2 IP Address. I tried this,

ping -l 5000 192.168.44.2

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

1 Answer 1

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

 
discard

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.