From owner-freebsd-questions@FreeBSD.ORG Fri Oct 15 15:31:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E607416A4CF for ; Fri, 15 Oct 2004 15:31:32 +0000 (GMT) Received: from bm.netm.net.ru (bm.netm.net.ru [213.148.26.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA4FE43D62 for ; Fri, 15 Oct 2004 15:31:31 +0000 (GMT) (envelope-from bm@netmaster.ru) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bm.netm.net.ru (8.12.11/8.12.11) with ESMTP id i9FFXmGb093394; Fri, 15 Oct 2004 19:33:49 +0400 (MSD) (envelope-from bm@netmaster.ru) Message-ID: <416FEDDB.6030405@netmaster.ru> Date: Fri, 15 Oct 2004 19:33:47 +0400 From: Alexey Karguine Organization: ISP Netmaster.ru User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040912) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Bruno M. Petroski" References: <416FE32B.2080203@inf.ufsc.br> In-Reply-To: <416FE32B.2080203@inf.ufsc.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Ping under normal user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 15:31:33 -0000 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