Ethereal-users: Re: [Ethereal-users] Interfaces don't show up

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 11 Oct 2000 17:13:40 -0700 (PDT)
> When I run Ethereal on my Linux box, I only show interface(s) to
> capture from if I'm either logged in as root or su'd in.  My "common"
> account can't see the interfaces.  What do I need to do to make the
> interfaces available to a "common" login?

Either

	1) make Ethereal set-UID root - but I seem to remember a message
	   to the GTK+ mailing list suggesting that making GTK+ programs
	   set-UID was a Bad Idea, and I wouldn't certify that Ethereal
	   has no security holes, either;

	2) figure out how to set the CAP_NET_RAW capability for common
	   accounts (no, I don't know where one would do that, and I
	   suspect you'd have to write some C code, perhaps in "login"
	   and/or "xdm"/"kdm"/etc., to do that).

(Or you could install one of the OSes that uses a device, rather than a
socket, for raw packet capture, e.g. one of the BSDs or Solaris, and
make the appropriate devices readable and writable by that login.)