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
[EMAIL PROTECTED]        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: msg15867/pgp00000.pgp
Description: PGP signature

Reply via email to