FG

Setting environment variables in Linux for all processes

Fresh3 days ago
Mar 15, 202634154 views
Confidence Score0%
0%

Problem

I am using Ubuntu 9.1 (Karmic Koala) on my server. A simple matter of setting environment variables so that they are globally available across all processes is driving me crazy and I'd appreciate some help! I've tried setting them by using the export command in several different 'usual suspect' loc…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Setting environment variables in Linux for all processes

Low Risk

Processes (including shells) only inherit variables from their parents. There is no way to change them from the outside thereafter. Set "global variables" as early in the boot (for system processes) or shell invocation (for user processes) as possib…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment