From owner-freebsd-questions Tue Feb 4 16:59:50 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E7AF37B401 for ; Tue, 4 Feb 2003 16:59:49 -0800 (PST) Received: from above.proper.com (mail.proper.com [208.184.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6432A43F93 for ; Tue, 4 Feb 2003 16:59:48 -0800 (PST) (envelope-from phoffman@proper.com) Received: from [165.227.249.18] (165-227-249-18.client.dsl.net [165.227.249.18]) by above.proper.com (8.11.6/8.11.3) with ESMTP id h150xid03241 for ; Tue, 4 Feb 2003 16:59:44 -0800 (PST) Mime-Version: 1.0 X-Sender: phoffprop@mail.proper.com Message-Id: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Date: Tue, 4 Feb 2003 16:59:42 -0800 To: freebsd-questions@freebsd.org From: Paul Hoffman Subject: Safe to change the position of "local" in the path? Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 Greetings again. The default path in FreeBSD 4.7 is: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/you/bin OpenSSL comes as part of FreeBSD in /usr/bin. If you add a newer version of OpenSSL, it goes into /usr/local/bin, which is later in the path and therefore not found without explicitly calling it each time. Is it safe to change the default path to: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/you/bin Is there a generic way to make things in /usr/local/bin take precedence over things in /usr/bin? For example, I remember that the Perl 5.8 port comes with a command that you can run that makes the new Perl take precedence (although I don't remember what it is). Should I be doing that (whatever it is) to make just OpenSSL take precedence, instead of changing the search path? --Paul Hoffman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message