Setting global enviroment variables

Gregory BitBucket at
Tue Apr 8 18:11:28 UTC 2008

If you are using sh, or a derived shell such as bash, then you can 
use /etc/profile to achieve your desired result.

On Tuesday 08 April 2008 10:18, Andrew Cid wrote:
> Hi all,
> What's the best way of setting environment variables on FreeBSD
> so that all users and daemons running from rc can see them?
> I'd like to set PKGROOT to a custom package server, so that all users
> and a couple of daemons that start from rc will use the new packages.
> Cheers,
> Andrew

More information about the freebsd-questions mailing list