Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!izvestia.its.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!howland.erols.net!feeder.chicago.cic.net!news.depaul.edu!boxotrix.it-ias.depaul.edu!root From: root@boxotrix.it-ias.depaul.edu (Jim Leonard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: New to FreeBSD -- where do I set global environment vars? Date: 7 Apr 1997 16:55:41 GMT Organization: DePaul University, Loop Campus, Chicago, IL, USA Lines: 14 Message-ID: <5ib8ud$pge$1@news.depaul.edu> NNTP-Posting-Host: boxotrix.it-ias.depaul.edu Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38704 I love FreeBSD 2.2.1 -- I've completely converted over to it. I'm having a problem, however: I want to set the environment variable TMPDIR set to a value, and have it show up for everything on the system. In previous unix's, all I had to do was set something in /etc/login or /etc/profile, but I don't see those listed here. I've put it in /etc/rc.local, but it doesn't stick. I log in, and TMPDIR is still unset. (I added "TMPDIR=/usr/tmp; export TMPDIR" to rc.local) What am I missing? Where do I set this? -- Jim Leonard, SysAdmin at DePaul University and demofreak work: jleonard@condor.depaul.edu home: trixter@mcs.com For a new experience, try http://www.cdrom.com/pub/demos/hornet/html/demos.html