From owner-freebsd-current Tue Mar 7 15:38:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 9490B37B555 for ; Tue, 7 Mar 2000 15:38:44 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <115213>; Wed, 8 Mar 2000 10:39:25 +1100 Content-return: prohibited From: Peter Jeremy Subject: Re: ssh strangeness in -current... In-reply-to: <200003070243.DAA52008@dorifer.heim3.tu-clausthal.de>; from olli@dorifer.heim3.tu-clausthal.de on Tue, Mar 07, 2000 at 01:44:28PM +1100 To: olli@dorifer.heim3.tu-clausthal.de Cc: freebsd-current@FreeBSD.ORG Message-Id: <00Mar8.103925est.115213@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii References: <89v0d4$9af$1@atlantis.rz.tu-clausthal.de> <200003070243.DAA52008@dorifer.heim3.tu-clausthal.de> Date: Tue, 7 Mar 2000 15:02:26 +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 6 Mar 2000, Oliver Fromme wrote: > Apart from my stupidness of not checking the location of the binary > first -- what did I do wrong, and what's the recommended way of > handling this? Am I supposed to rm /usr/bin/ssh each time I install a > new release or snapshot? I can't believe that. I avoid the problem by structuring my paths along the lines of $HOME/bin:/usr/local/bin:/usr/bin:/bin (everythere, not just on FreeBSD). This way, if I (as sysadmin) install something in /usr/local, it over-rides whatever the vendor supplied. (Otherwise, I probably wouldn't have installed my own version). Likewise, anything I put in my private bin directory over-rides anything in the common areas. In this case, it would mean that the version of ssh installed (in /usr/local/bin) from the ports would over-ride the /usr/bin/ssh in the base system. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message