From owner-freebsd-questions Tue Oct 30 13: 0:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 56BBC37B407 for ; Tue, 30 Oct 2001 13:00:46 -0800 (PST) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f9UL0du70733; Tue, 30 Oct 2001 15:00:39 -0600 (CST) (envelope-from nick@rogness.net) Date: Tue, 30 Oct 2001 15:00:39 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Peter Brezny Cc: freebsd-questions@FreeBSD.ORG Subject: Re: application execution permissions. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 30 Oct 2001, Peter Brezny wrote: > I've installed tmetric but non root users arn't able to use it. > > What do I need to do to enable tmetric usage by non root users? > Make it suid root. As it appears to need to write to a socket. > I've listed some limited diagnostics below for your information. > > TIA > > -rwxr-xr-x 1 nobody nogroup 11100 Aug 30 08:48 /usr/local/sbin/tmetric > > as a non root user > %tmetric > usage: tmetric [options] > -s start of packet size range > -e end of packet size range > -r resolution of range > -d delay between each packet > -v verbosity. use many v's for more verbosity > -h this information > example: tmetric -s 1000 -e 5000 -r 5 host > sends 5 packets, stepping from 1000 to 5000 bytes at host > %tmetric -s 1000 -e 1500 -r 5 purplecat.net > tmetric: socket(): Operation not permitted Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message