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

Re: xauth or xhost no longer required?



On Thu, 28 Nov 2002 14:20:25 +0000
"Karl E. Jorgensen" <karl@jorgensen.com> wrote:

 > > On Thu, Nov 28, 2002 at 05:27:38AM -0800, Roy Pluschke wrote:
 > > > Hi,
 > > > 
 > > > Since the upgrade of X in testing I have noticed that I don't
 > > > have to use xhost or xauth to run X programs after I su to root.
 > > > 
 > > > Is this the way its now supposed to be, or has something been
 > > > set incorrectly during the upgrade?
 > > 
 > > How do you su to root?
 > > 
 > >     $ su 
 > > or
 > >     $ su -
 > > ?
 > > 
 > > The first one will make you root while preserving your environment
 > > (including XAUTHORITY), the latter will give you a clean root
 > > environment (probably without XAUTHORITY).
 > > 

 I just type su <return> password <return> which is what I've always
 done, however I used to have to use xhost or xauth which is now not
 required. I'm just curious if some major security hole has been opened.
 What a speedy reply :)
 
 P.S. Oops!! I must apologize to Karl I hit the "Reply" button instead of
 the "Reply to list" button and by accident sent my reply to him personally.

 RJP



Reply to: