Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: smulcahy@soggey.ilo.dec.com (Stephen Mulcahy)
Subject: Setting System-wide variables
Date: 1997/08/14	[thread overview]
Message-ID: <5suull$62c$1@mrnews.mro.dec.com> (raw)


Hi,

I have a problem with setting systemwide variables on a Digital Unix box.
Basically, I want certain environment variables to be accessible by all
processes, not neccesarily just users logged in. 

I have tried the following,

Put the env vars in the /etc/profile and /etc/csh.login
This gives all users full access to these variables but not processes running
automatically e.g. I have a filter running from the sendmail aliases file
and this is run by daemon as far as I can see and it does not have access 
to the variable.

My second thought was to put in the /etc/rc.config file which seems to hold
some global variables but again, this didn't seem to be picked up. 

Is what I'm doing workable or should I be looking at setting up maybe a 
global file with things I want set which is sourced by any 
users/scripts/processes that want to set these (it seems a little 
inelegant :)?

Thanks

-stephen

--
Disclaimer: My views are not neccesarily those of my employer or 
something like that



                 reply	other threads:[~1997-08-14  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox