Ping under normal user

Bruno M. Petroski petroski at inf.ufsc.br
Fri Oct 15 07:48:15 PDT 2004


Hi,

    I'm using FreeBSD 4.10, and I'm trying to ping a computer using the 
following command as a normal user, but I receive an error message.

$ ping -s 64 -c 10 10.1.1.1
ping: -s flag: Operation not permitted


   If I use the same command as root, no error message is given. Is 
there any option I could setup in order to overcome this error???

# ping -s 64 -c 10 10.1.1.1
PING 10.1.1.1 (10.1.1.1): 64 data bytes
72 bytes from 10.1.1.1: icmp_seq=0 ttl=63 time=8.737 ms
72 bytes from 10.1.1.1: icmp_seq=1 ttl=63 time=0.265 ms
72 bytes from 10.1.1.1: icmp_seq=2 ttl=63 time=0.260 ms
72 bytes from 10.1.1.1: icmp_seq=3 ttl=63 time=4.183 ms
72 bytes from 10.1.1.1: icmp_seq=4 ttl=63 time=0.258 ms
72 bytes from 10.1.1.1: icmp_seq=5 ttl=63 time=6.691 ms
72 bytes from 10.1.1.1: icmp_seq=6 ttl=63 time=6.648 ms
72 bytes from 10.1.1.1: icmp_seq=7 ttl=63 time=2.983 ms
72 bytes from 10.1.1.1: icmp_seq=8 ttl=63 time=0.261 ms
72 bytes from 10.1.1.1: icmp_seq=9 ttl=63 time=0.260 ms

--- 10.1.1.1 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.258/3.055/8.737/3.142 ms

-- 
Bruno M. Petroski
UFSC - Brasil

"Can't buy what I want because its FREE!"
	- Pearl Jam


More information about the freebsd-questions mailing list