Bug 22832 - sshd needs to check before running xauth
Summary: sshd needs to check before running xauth
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openssh
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-26 04:58 UTC by Bill Nottingham
Modified: 2014-03-17 02:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-04-20 18:24:53 UTC
Embargoed:


Attachments (Terms of Use)
check that xauth is there before running it (987 bytes, patch)
2000-12-26 04:59 UTC, Bill Nottingham
no flags Details | Diff

Description Bill Nottingham 2000-12-26 04:58:10 UTC
On a system with no X installed, logging in via ssh with X forwarding
enabled displays:

sh: /usr/X11R6/bin/xauth: No such file or directory

Patch attached, salt to taste.

Comment 1 Bill Nottingham 2000-12-26 04:59:28 UTC
Created attachment 6682 [details]
check that xauth is there before running it

Comment 2 Pekka Savola 2000-12-28 22:56:07 UTC
The situation should not be silently ignored.  A better warning message would be in order though.


Comment 3 David Thiede 2001-04-20 18:24:50 UTC
This problem seems to still be in 7.1 release. At times the circuit is dropped
after seeing the message. I have not been able to identify the exact sequence
needed to characterize the conditions in which a drop happens or just the
message but the connect succeeds. The system that I connect to has none of the
XFree86 rpms installed but I see that DISPLAY=host.domain:11.0. that doesn't
seem right. I can also unset DISPLAY on the client side and the message no
longer appears.

The client systems that I have tested with are 7.0 with 2.2.17-14 and 2.2.16-22.
the ssh packages are 2.5.2p2. Due to the erratic nature of the dropped
connections, I would  elevate the priority and mark the severity.

Dave Thiede

Comment 4 Pekka Savola 2001-05-11 20:52:54 UTC
openssh-2.9p1-2 in Rawhide disables xauth in a more graceful manner if the xauth binary cannot be found.



Note You need to log in before you can comment on or make changes to this bug.