From owner-freebsd-questions Mon Jun 24 23:59:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id F241237B66A for ; Mon, 24 Jun 2002 23:57:06 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.3/8.12.3) with ESMTP id g5P6v5As043374; Tue, 25 Jun 2002 18:57:05 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.3/8.12.3/Submit) id g5P6v49H043349; Tue, 25 Jun 2002 18:57:04 +1200 (NZST) (envelope-from jonc) Date: Tue, 25 Jun 2002 18:57:04 +1200 From: Jonathan Chen To: Scott Robbins Cc: Freebsd-questions@FreeBSD.ORG Subject: Re: Upgrading ssh--anything wrong with this method Message-ID: <20020625065703.GA33466@grimoire.chen.org.nz> References: <20020625070818.GA18001@scott1.homeunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020625070818.GA18001@scott1.homeunix.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 25, 2002 at 02:08:18AM -0500, Scott Robbins wrote: [..] > In other words, just putting the newer version where the old version > was, and letting the default startup scripts start it. The recommended way is to leave everything where it wants to live, and change your /etc/rc.conf file so that it invokes the one in /usr/local. ie: /etc/rc.conf: sshd_program="/usr/local/sbin/sshd" # path to sshd The advantage of this method is that when you upgrade your system, any sshd coming off the installation media won't clobber your ports-installed one. -- Jonathan Chen ---------------------------------------------------------------------- When all else fails, RTFM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message