Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!eru.mt.luth.se!news-stkh.gsl.net!news.gsl.net!uninett.no!news-feed.inet.tele.dk!newsfeed.nacamar.de!blackbush.xlink.net!news-ge.switch.ch!feed1.belnet.be!news.belnet.be!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: New to FreeBSD -- where do I set global environment vars?
Date: 21 Apr 1997 17:28:09 GMT
Organization: Awfulhak Ltd.
Lines: 18
Message-ID: <5jg839$gvb@ui-gate.utell.co.uk>
References: <5ib8ud$pge$1@news.depaul.edu> <E8ABDs.1pn@sphynx.fdn.fr>
<5id2fu$8md@ui-gate.utell.co.uk> <5j8itj$5mt@uriah.heep.sax.de>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39458
In article <5j8itj$5mt@uriah.heep.sax.de>,
j@uriah.heep.sax.de (J Wunsch) writes:
> brian@shift.utell.net (Brian Somers) wrote:
>
>> Of course this doesn't do it for things like rshd. If you want
>> them to know about it too, you'll need to export your vars at the
>> top of /etc/rc
>
> Nope. :) /etc/rc runs in its own process.
Yep. :) /etc/rc spawns inetd which spawns rshd et al. I meant
that you'll need them in the top of rc as well as in whatever
profile you need to put them in.
--
Brian <brian@awfulhak.org> <brian@freebsd.org>
<http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !