Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 18:57:04 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Scott Robbins <scottro@nyc.rr.com>
Cc:        Freebsd-questions@FreeBSD.ORG
Subject:   Re: Upgrading ssh--anything wrong with this method
Message-ID:  <20020625065703.GA33466@grimoire.chen.org.nz>
In-Reply-To: <20020625070818.GA18001@scott1.homeunix.net>
References:  <20020625070818.GA18001@scott1.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                                             When all else fails, RTFM

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020625065703.GA33466>