Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: HELP: Re-start 10g on RH3 Install from scratch
Howard J. Rogers wrote:
> Fabrizio wrote:
>
>> Two names for two different uses. >> bashrc works for non-login sessions while bash_profile for login ones. >> >> Often the distribution links bashrc into bash_profile.
when you create a directory in /home is created and the file in /etc/skel are copied.
Amongst them .bash_profile and .bashrc
Redhat 8.0 (the only one I can have a look at the moment) has:
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
in its .bash_profile. So if you insert the env variables in .bashrc you'll have it even for the shell opened with .bash_profile.
If the OP doen't have those lines (or something similar) he won't be able to have the env set for every kind of shell.
Reason for the OP issue? Maybe he changed the original files in /etc/skel, maybe he didn't create the user as you advised but with different command parameters... and then added with a mkdir the directory into /home...
Of course this is only a guess...
-- Fabrizio Magni fabrizio.magni_at_mycontinent.com replace mycontinent with europeReceived on Mon Dec 06 2004 - 05:29:39 CST