[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris 2.6+ <rsh cmd> doesn't source .bashrc
From: |
Paul Jarc |
Subject: |
Re: Solaris 2.6+ <rsh cmd> doesn't source .bashrc |
Date: |
12 Apr 2001 13:27:22 -0400 |
User-agent: |
Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 |
brett@hou.asp.ti.com writes:
> However, on Solaris 2.6 or above, using rsh in this fashion doesn't
> source his .bashrc file, so his PATH isn't set up correctly.
A guess: bash is being invoked as a login shell (as "-bash"), so it
sources .bash_profile instead of .bashrc. Try adding the PATH
assignment to .bash_profile.
paul