Search Results

Search: Posts Made By: hergp
6,225
Posted By hergp
.bash_profile does not need execute-permissions,...
.bash_profile does not need execute-permissions, because it is not executed, but included by your shell. So read/write access for root is sufficient.

Another idea: please move the PATH=......
6,225
Posted By hergp
I just noticed the command-name is just bash. It...
I just noticed the command-name is just bash. It should be -bash for a login-shell (with a leading dash).

What does

getent passwd root

print? Don't worry you will not give away your...
6,225
Posted By hergp
Then I'm afraid, I am out of ideas for the...
Then I'm afraid, I am out of ideas for the moment. Anyone else?
6,225
Posted By hergp
Hmm, strange. Are you sure, you are using bash?...
Hmm, strange. Are you sure, you are using bash? What does

ps -f -p $$

print?
6,225
Posted By hergp
Looks good to me. But in a previous post you...
Looks good to me. But in a previous post you wrote (notice the red colon)

/usr/sbin:/bin:/usr/bin:/sbin:/opt/ubersvn:ubersvn/bin:.

Is there someting in .bashrc that resets PATH to something...
6,225
Posted By hergp
Can you post the entire .bash_profile file you...
Can you post the entire .bash_profile file you just created?
6,225
Posted By hergp
If the file is in root's home directory, the file...
If the file is in root's home directory, the file is only valid for root. The file you posted looks right, besides the formatting issue. It is the default .bash_profile file. Just edit the one line,...
6,225
Posted By hergp
If .bash_profile is not there, just create the...
If .bash_profile is not there, just create the file. I wouldn't use .bashrc for this, because .bash_profile is executed only by a login shell, whereas .bashrc is executed by all subshells too.
6,225
Posted By hergp
There should be a file .bash_profile in root's...
There should be a file .bash_profile in root's home directory. You can put your PATH modifications there.
Showing results 1 to 9 of 9

 

Featured Tech Videos

All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy