On Sat, Feb 13, 1999 at 12:27:40PM -0600, Leon McClatchey wrote:
> 
> Christopher Ballog wrote:
> 
> > Hello
> >
> > There are two different file which control Bash shell.
> >
> > 1. One is the profile file in the /etc directory and
> > 2. The second is .bashrc file in each user personal directory under the /home 
>directory.
> >
> 
> But, when you log in as root, and even though you create a .bashrc in the root home 
>directory, it doesn't seem to have any affect on the shell that the root uses. Why?  
>(I tried to set it up to run the fortunes as root, and can't get it to run?  why?

Does your /root/.profile read thusly?


test -z "$PROFILEREAD" && . /etc/profile

if test -f ~/.bashrc; then
        . ~/.bashrc
fi

... and if so, does /root/.bashrc exist and is it set up the way you want it
to be?

-- 
Brad Shelton             [EMAIL PROTECTED]
On Line Exchange         http://ole.net
Detroit News             http://detnews.com
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to