-   Linux - Newbie (
-   -   bash_profile & bashrc (

c1p3r 07-15-2003 05:10 AM

bash_profile & bashrc
RedHat 8
Hi there,

I have troubles trying the user-specific profiles to be executed / read when doin a telnet / ssh session.

What I have done :

I have added echoes to the following files

when I log in as root or su - to root I get my echoes from

which is fine.


when I log in as fred
I only get redirected to /usr/home/fred with no echoes.
this happens on both sh and bash
when I chsh fred to /bin/ksh I get an echo from

and no other echoes

when I chsh fred to /bin/csh then I get a unknown group error.
and are returned to /usr/home/fred

Any suggestions as to what I can do so that it reads/executes .bashrc and/or .bash_profile in /fred/ - becauase I need to fire up customised scripts for different users.


All times are GMT -5. The time now is 09:30 AM.