Subject: bin/13440: ssh-add hardcodes path to ssh-askpass
To: None <gnats-bugs@gnats.netbsd.org>
From: None <abs@mono.org>
List: netbsd-bugs
Date: 07/11/2001 16:03:20
>Number:         13440
>Category:       bin
>Synopsis:       ssh-add hardcodes path to ssh-askpass
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 08:01:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Brownlee
>Release:        NetBSD 1.5.1
>Organization:
Monochrome
>Environment:
	
System: NetBSD odysseus 1.5.1 NetBSD 1.5.1 (GENERIC_LAPTOP) #33: Mon Jul 2 15:56:09 CEST 2001 he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC_LAPTOP i386


>Description:
	ssh-add hardcodes the path to ssh-askpass to /usr/X11R6/bin/ssh-askpass
	If xpkgwedge is being used then security/ssh-askpass will install
	into PREFIX/bin/ssh-askpass (/usr/pkg/bin/ssh-askpass) instead.

>How-To-Repeat:
	Install pkgtools/xpkgwedge then security/ssh-askpass, and try and
	use ssh-add in .xsession.
>Fix:
	Change ssh-add to not use a full path, or check /usr/pkg/bin also.
>Release-Note:
>Audit-Trail:
>Unformatted: