[Bug 771] Add option to override XAUTHORITY env variable

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Dec 12 09:35:15 EST 2003


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

           Summary: Add option to override XAUTHORITY env variable
           Product: Portable OpenSSH
           Version: 3.7.1p1
          Platform: UltraSparc
        OS/Version: SunOS
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: Mario.Nigrovic at Motorola.com


Sometimes ~/.Xauthority is not writable, so to tunnel X, another location must
be supplied.  I propose ssh_config variable OverrideXAUTHORITY.  If set, sshd
could place XAUTHORITY in the environment, pointing either to this file, or, if
it's a directory, to some generated unique filename in that directory.  It would
then propagate XAUTHORITY to the user's environment also.

Because, when this option is present, sshd would _always_ override XAUTHORITY,
there is no need for any messy code to try to figure out where the orignal
XAUTHORITY was or should have been.

This could be mostly handled by using XAuthLocation, but there is no way with
that facility to place XAUTHORITY back into the users's environment, and I think
that it'd be easier to provide the config option than to provide some feedback
path from xauth to the real path.

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