Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 22:03:03 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Thierry Herbelot <thierry@herbelot.com>
Cc:        John Polstra <jdp@polstra.com>, <stable@FreeBSD.ORG>
Subject:   Re: OpenSSH_3.4p1 sshd does not set XAUTHORITY
Message-ID:  <20020819220103.U1495-100000@woozle.rinet.ru>
In-Reply-To: <200208191943.31694.thierry@herbelot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Aug 2002, Thierry Herbelot wrote:

TH> after searching in some mailing lists, I've found that adding :
TH>
TH> setenv XAUTHORITY ~/.Xauthority
TH>
TH> to the .login file on the machine I'm logging in has solved this problem
TH>
TH> I hope this has no bad implication on security.

I suppose a bit of logic examining $DISPLAY content (more specifically,
non-empty part before ':' of it) and setting XAUTHORITY conditionally
would be better.

[snip]

Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020819220103.U1495-100000>