[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ethereal rights



>>>>> "Jeff" == Jeff Johnson <comfrey@attbi.com> writes:

 Jeff> I try to capture traffic with ethereal and I dont have the
 Jeff> permissions for the device.  sou i try to run it from a root
 Jeff> console and X cannot open display.

one way of doing this is

 * as non-root owner of the X session, do

 xauth extract /tmp/auth :0.0

 * as root, do

 xauth merge /tmp/auth
 export DISPLAY=:0.0
 ethereal

note that if the /tmp/auth file is publicly readable, then anyone on
the local system can hijack your X server.

-- 

joe


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: