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

Re: xauth or xhost no longer required?



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).

-- 
Karl E. Jørgensen
karl@jorgensen.com        http://karl.jorgensen.com
"One disk to rule them all, One disk to find them. One disk to bring
 them all and in the darkness grind them. In the Land of Redmond
 where the shadows lie." -- The Silicon Valley Tarot
          Henrique Holschuh

Attachment: pgpm8nECBQUEc.pgp
Description: PGP signature


Reply to: