Date: Tue, 08 Apr 2008 18:31:27 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Andrew Cid <andrew@accid.net> Cc: freebsd-questions@freebsd.org Subject: Re: Setting global enviroment variables Message-ID: <47FBABEF.4090107@infracaninophile.co.uk> In-Reply-To: <20080408171819.GA56838@farnborough.darq.net> References: <20080408171819.GA56838@farnborough.darq.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
/etc/login.conf -- don't forget to run cap_mkdb after editing it.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkf7q/YACgkQ8Mjk52CukIy+kgCeKxgH7IYvua15mc2w6DrSZ2td
/K8Ani38+VFKuX7STNNKJhM5tugwHm/F
=ps8+
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FBABEF.4090107>
