[Bug 771] Add option to override XAUTHORITY env variable

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Dec 16 06:23:42 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=771





------- Additional Comments From Mario.Nigrovic at Motorola.com  2003-12-15 12:23 -------
The problem with all existing options is that the .ssh/rc (or xauth override)
has no mechanism for passing a new value for XAUTHORITY _back_ into the user
environment.  I suppose I could hack something where the user's profile would
look in /tmp/for a file created by .ssh/rc, but there is no direct way for this
to be handled.  I think a better solution is for the sshd_config to be able to
create some new value for XAUTHORITY and pass that in to both the setup programs
(xauth, rc, sshrc) and the user's ultimate environment.
The alternative is maybe for some mechanism to be created which would allow the
rc files to pass back environment values to set, since the rcfiles are executed
by popen and already write, this would be an even bigger hack.  On the other
hand, it might be a really cool thing if the Xproto and Xauth keys were made
command arguments and then anything output on stdout were just put into the
environment.  But I think that's a bigger change than what I'm proposing.
-- Mario



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list