Bruno M. Petroski wrote:
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


You can setup sudo (/usr/ports/security/sudo) to run any programs you wish as root.



-- Alexey Karguine _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to