From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7da4b31de7f22a94,start X-Google-Attributes: gidfee84,public From: smulcahy@soggey.ilo.dec.com (Stephen Mulcahy) Subject: Setting System-wide variables Date: 1997/08/14 Message-ID: <5suull$62c$1@mrnews.mro.dec.com>#1/1 X-Deja-AN: 264661499 Organization: Digital Equipment Corporation - Marlboro, MA Newsgroups: comp.unix.osf.osf1 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