Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2003, 05:10 AM   #1
LQ Newbie
Registered: Jul 2003
Location: South Africa
Posts: 1

Rep: Reputation: 0
Question 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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bashrc or bash_profile ? ARCIS_house Linux - Newbie 6 07-21-2005 02:09 PM
.bashrc .bash_profile Soulful93 Slackware 4 05-03-2005 03:02 AM
~/.bashrc, ~/.bash_profile Sinope Linux - Newbie 6 08-17-2004 02:40 AM
.bashrc or .bash_profile? statmobile Linux - Newbie 1 02-04-2004 09:08 PM
.bashrc vs .bash_profile xor3 Linux - Newbie 1 08-16-2003 12:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration