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
/etc/bashrc
/etc/profile
/usr/home/root/.bashrc
/usr/home/root/.bash_profile
/usr/home/fred/.bashrc
/usr/home/fred/.bash_profile
when I log in as root or su - to root I get my echoes from
/etc/bashrc
/etc/profile
/usr/home/root/.bashrc
/usr/home/root/.bash_profile
which is fine.
but....
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
/etc/profile
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.