From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 17:31:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05A811065671 for ; Tue, 8 Apr 2008 17:31:47 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6553B8FC27 for ; Tue, 8 Apr 2008 17:31:46 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m38HVYVU058268; Tue, 8 Apr 2008 18:31:35 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.2 smtp.infracaninophile.co.uk m38HVYVU058268 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1207675895; bh=aPBl4Tzh5kX9n/ tYz+zn5lmPucN2Qzqx2Apd9G2AS2k=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<47FBABEF.4090107@infracaninophile.co.uk>|Date:=20Tue,=2 008=20Apr=202008=2018:31:27=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.12=20(X11/20080310)|MIME-Version:=201 .0|To:=20Andrew=20Cid=20|CC:=20freebsd-questions@ freebsd.org|Subject:=20Re:=20Setting=20global=20enviroment=20variab les|References:=20<20080408171819.GA56838@farnborough.darq.net>|In- Reply-To:=20<20080408171819.GA56838@farnborough.darq.net>|X-Enigmai l-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3D pgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D= 0A=20boundary=3D"------------enig5330510F4F15E4F92F476F3E"; b=qlE4s HI6RSbPn3YDzAE4Olbt3Pb66L0bWtERoQA5dDz8hL4qvMpnCpWfyZy2Na9mqLPOnBtw O2g1PHiETIzxp/bKapZdx55avv5nCc9vyP1tfg2+bLLGEdweqwPncn7mninXFUG4yV+ ZbAg4QHShWywcDVs9x2lGKA9x6gYYyx8= Message-ID: <47FBABEF.4090107@infracaninophile.co.uk> Date: Tue, 08 Apr 2008 18:31:27 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: Andrew Cid References: <20080408171819.GA56838@farnborough.darq.net> In-Reply-To: <20080408171819.GA56838@farnborough.darq.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig5330510F4F15E4F92F476F3E" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 08 Apr 2008 18:31:35 +0100 (BST) X-Virus-Scanned: ClamAV 0.92.1/6670/Tue Apr 8 15:31:38 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Setting global enviroment variables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 17:31:47 -0000 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--