Results 1 to 2 of 2
I've set LD_LIBRARY_PATH in etc profile, like all the online guides say to do. However, ]etc]profile only takes effect on login prompts. So if I open a terminal when already ...
- 04-21-2011 #1Just Joined!
- Join Date
- Feb 2007
- Location
- Winnipeg, MB
- Posts
- 14
Global Environment Variables
I've set LD_LIBRARY_PATH in etc profile, like all the online guides say to do. However, ]etc]profile only takes effect on login prompts. So if I open a terminal when already logged in, I get:
Well, I can't show you what I get, because of the 'no URL filter'. Apparently it blocks file locations as well. But what happens is that LD_LIBRARY_PATH only gets set after I ssh to localhost.
How can I set an environment variable for all users in all kinds of prompts? Do I need to individually edit their bashrc files?
- 04-21-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You can edit the /etc/bashrc file, which is loaded before/when the user .bashrc file is.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote