From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 05:14:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB191065670 for ; Thu, 26 Jun 2008 05:14:03 +0000 (UTC) (envelope-from crapsh@MonkeyBrains.NET) Received: from ape.monkeybrains.net (ape.monkeybrains.NET [208.69.40.11]) by mx1.freebsd.org (Postfix) with ESMTP id 420968FC0C for ; Thu, 26 Jun 2008 05:14:03 +0000 (UTC) (envelope-from crapsh@MonkeyBrains.NET) Received: from Penelope-Thomas-Computer.local (adsl-76-203-175-29.dsl.pltn13.sbcglobal.net [76.203.175.29]) (authenticated bits=0) by ape.monkeybrains.net (8.14.1/8.14.1) with ESMTP id m5Q5E1ZY032406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jun 2008 22:14:02 -0700 (PDT) (envelope-from crapsh@MonkeyBrains.NET) Message-ID: <48632594.2030109@MonkeyBrains.NET> Date: Wed, 25 Jun 2008 22:13:56 -0700 From: Rudy User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Peter Clark References: <4862B685.9030005@mtmary.edu> In-Reply-To: <4862B685.9030005@mtmary.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on pita.monkeybrains.net X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Default path. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 05:14:03 -0000 Peter Clark wrote: > Hello. > > I have a FreeBSD 7.0 p2 box. I have upgraded openssl by installing the > latest port. When I use openssl version I am still calling the base > /usr/bin/openssl. How do I change my default path to use > /usr/local/bin/openssl instead? do this: rm /usr/bin/openssl then type 'rehash'. (if you don't really want to delete it, you can do 'chmod 000 /usr/bin/openssl') (and type 'rehash') or, change the order of your PATH variable (in your .tcshrc file) or, make an alias of 'openssl' to '/usr/local/bin/openssl'. Rudy