That's logical. If you set an environment variable, it is only
present in the process you set it in, and the children of those
processes. There's no way to set environment variables of unrelated
However you can do this in /etc/initscript. Since init is the parent
of _all_ processes, it's environment will propagate to all processes
on the system. Read the manual page for initscript(5).
No guarantee that it will be set in interactive sessions as well
since a lot of programs, like login, clean up their environment
before starting a new session.
-- ... somehow I have a feeling the hurting hasn't even begun yet -- Bill, "The Terrible Thunderlizards"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/