bin/119607: ssh and sshd has wrong path to xauth
Kris Kennaway
kris at FreeBSD.org
Sat Jan 12 11:50:03 PST 2008
The following reply was made to PR bin/119607; it has been noted by GNATS.
From: Kris Kennaway <kris at FreeBSD.org>
To: Bengt Ahlgren <bengta at sics.se>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/119607: ssh and sshd has wrong path to xauth
Date: Sat, 12 Jan 2008 20:43:15 +0100
Bengt Ahlgren wrote:
> FreeBSD zeus.bga.sics.se 6.3-RC2 FreeBSD 6.3-RC2 #9: Thu Dec 27 19:02:00 CET 2007 bga at zeus.bga.sics.se:/usr/obj/usr/src/sys/ZEUS amd64
>> Description:
> ssh and sshd has incorrect path to xauth:
>
> [bga at zeus ~]$ strings `which ssh` | grep xauth
> xauthlocation
> /usr/X11R6/bin/xauth
> No xauth program.
> %s/xauthfile
> Warning: No xauth data; using fake authentication data for X11 forwarding.
> [bga at zeus ~]$ strings `which sshd` | grep xauth
> xauthlocation
> maxauthtries
> /usr/X11R6/bin/xauth
> No xauth program; cannot forward with spoofing.
>
>> How-To-Repeat:
> make buildworld without setting X11BASE
>> Fix:
> Merge src/crypto/openssh/pathnames.h 1.10
Technically you are correct but /usr/X11R6 should be a symlink to
/usr/local on a correctly functioning FreeBSD 6.3 install.
Kris
More information about the freebsd-bugs
mailing list