LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   environment variables (https://www.linuxquestions.org/questions/linux-newbie-8/environment-variables-710413/)

hellowb 03-10-2009 01:28 AM

environment variables
 
hello... i've got a problem with environment variables...
basically it is this, when i telnet or ssh into my linux
machine, the same bash environment variables are not set
as when i physically log into the linux machine..
do i need to manually run ~/.profile or ~/.bash_profile when logging
in via telnet to get bash to initialize the environment variables?
weird.. thanks...

manwithaplan 03-10-2009 02:30 AM

Helps to know what flavor of linux your using...

I know with a gentoo variant I would use a

Code:

env-update

source /etc/profiles


your_shadow03 03-10-2009 03:10 AM

What does machine display when you ssh?
Paste here.

rizwanrafique 03-10-2009 03:35 AM

Which of the bash variables don't get set?

hellowb 03-11-2009 10:28 PM

...
 
the env variables that don't get set are quite a few orcale environment variables which need to be set to run sqlplus properly...


All times are GMT -5. The time now is 12:07 PM.