Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2009 18:11:18 -0800 (PST)
From:      Peter Steele <psteele@maxiscale.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /bin/sh does not read profile
Message-ID:  <31137799.01236305475066.JavaMail.HALO$@halo>
In-Reply-To: <20090306004003.99091e42.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>I first wondered why none of my commands in "/etc/profile" and 
>"~/.profile" got executed. Finally, I modified 
>"/usr/src/bin/sh/main.c" to trace what files are read, recompiled 
>the "sh" command and: the only file that is executed is "~/.shrc". 
> 
>I just cannot believe that FreeBSD has such a severe bug. What is 
>going wrong here? 

I have a similar problem, but with bash. I have both my personal account and root set to use bash instead of sh and when I login the .bashrc file is not read. My system does not have an X environment, it's plain old BSD. How can I get it to load .bashrc when I login? I'm using a 7.0 binary release. 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31137799.01236305475066.JavaMail.HALO$>