Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2008 22:13:56 -0700
From:      Rudy <crapsh@MonkeyBrains.NET>
To:        Peter Clark <clarkp@mtmary.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Default path.
Message-ID:  <48632594.2030109@MonkeyBrains.NET>
In-Reply-To: <4862B685.9030005@mtmary.edu>
References:  <4862B685.9030005@mtmary.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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