Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 15:00:39 -0600 (CST)
From:      Nick Rogness <nick@rogness.net>
To:        Peter Brezny <peter@skyrunner.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: application execution permissions.
Message-ID:  <Pine.BSF.4.21.0110301458090.68783-100000@cody.jharris.com>
In-Reply-To: <NEBBIGLHNDFEJMMIEGOOIENHEEAA.peter@skyrunner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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] <hostname>
>         -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 <nick@rogness.net>
 - 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110301458090.68783-100000>