Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5330510F4F15E4F92F476F3E
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Andrew Cid wrote:
> Hi all,
>=20
> What's the best way of setting environment variables on FreeBSD
> so that all users and daemons running from rc can see them?
>=20
> 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

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig5330510F4F15E4F92F476F3E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig5330510F4F15E4F92F476F3E--



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