Look in /etc/skel.  You'll find by looking at the order of the login
sequence that .bash_profile is executed first, it sources .bashrc and
.bash_logout is executed at logout. If bash_profile doesn't exist then
.bashrc never gets sourced.  Best thing to do here is to copy the .bash*
files from /etc/skel to /root and then modify .bashrc.


On Wed, 2003-03-19 at 06:09, Mark D Pace wrote:
> >Wait! Don't do this.  Use the .profile instead.
>
> That is what I thought.  But then I read this in .profile   for a user.
>
> # .profile is read for all login shells
> # all other interactive shells will read .bashrc
> # So read .bashrc also from .profile and make all changes to .bashrc.
> # Then you should always have your correct setup.
>
>
> It seems to me that they want you to add it to .bashrc.
>
>
> >Is there no .bash_profile in /root?
>
> No there was not.
> There was
> .exrc
> .xinitrc
>
> So now I think I will create a .profile for root.
>
>
>
> Mark D Pace
> Senior Systems Engineer
> Mainline Information Systems
> 1700 Summit Lake Drive
> Tallahassee, FL. 32317
> [EMAIL PROTECTED]
> Office: 850.219.5184
> Fax: 850.219.5050
> http://www.mainline.com
--
Steven A. Adams <[EMAIL PROTECTED]>

Reply via email to