Re: global environment variables?
> I tried /etc/environment - and that works for my login shells (bash
> as root, zsh as user) ... but isn't seen from scripts run from cron.
> Is there any recommended way to make a an environment truly global?
> Is there something I've missed?
sorry, scripts do not inherit the environment. You need to hack the scripts.
Have a file in /etc/defaults/ called something like 'myenv' and in it set all
the variables you need. Then in your scripts just do '. /etc/defaults/myenv'.
This way they are all in one place.