Ethereal-users: Re: [Ethereal-users] X11: sudo ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 17 Feb 2004 22:24:01 -0800
On Tue, Feb 17, 2004 at 12:42:02PM -0500, Sick Cow wrote:
> I've installed Fink and I'm trying to get the GUI to work using sudo 
> ethereal from the terminal. The terminal does not recognize this command 
> though.

Terminal doesn't recognized commands, period.  The shell recognizes
them.  What gets printed when you try to run Ethereal?  What gets
printed if you run the command

	which ethereal

Also, you don't have to use "sudo" with Ethereal on BSDs, and Mac OS X
is a BSD - you can just do

	sudo chown {your login name} /dev/bpf*

(on BSDs with devfs, such as Mac OS X, you'd have to do that the first
time you run Ethereal after booting the machine, although BSDs with more
modern devfs's than the old one Mac OS X has can be configured to create
the BPF entries owned by somebody other than root); on BSDs without
devfs, it'll persist across reboots).  You can then run Ethereal as
yourself, rather than as root, which is safer.  (The same applies to
tcpdump, or other packet capture programs.)