From owner-freebsd-questions Wed Feb 27 10:23:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post-11.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 61E7B37B405 for ; Wed, 27 Feb 2002 10:23:27 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post-11.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16g8je-000Ny3-00 for questions@freebsd.org; Wed, 27 Feb 2002 18:23:26 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 39A6713040 for ; Wed, 27 Feb 2002 19:23:25 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 1005) id 5D4CD225C1; Wed, 27 Feb 2002 19:23:23 +0100 (CET) Date: Wed, 27 Feb 2002 19:23:23 +0100 From: Cliff Sarginson To: questions@freebsd.org Subject: Re: System-wide environment variables Message-ID: <20020227182323.GC2129@raggedclown.net> References: <95467477@toto.iv> <15484.58800.614850.436679@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15484.58800.614850.436679@guru.mired.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 27, 2002 at 07:57:04AM -0600, Mike Meyer wrote: > Mike Makonnen types: > > On Mon, 2002-02-25 at 18:03, Rickard Borgm=E4ster wrote: > > > Where should i put this? Into rc.conf.local or something maybe? > > Since no one answered his original question, but got bogged down in > shells and startup scripts, I'll note that the correct answer is that > they go in /etc/login.conf. For instance, in the unmodified one, the > default user has the equivalent of > > export MAIL=/var/mail/$USER BLOCKSIZE=K FTP_PASSIVE_MODE=YES > I think he was asking how to set a program's environment without logging in. -- Regards Cliff Sarginson -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message