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 bshelton@ole.net On Line Exchange <A HREF="http://ole.net"><A HREF="http://ole.net</A">http://ole.net</A</A>> Detroit News <A HREF="http://detnews.com"><A HREF="http://detnews.com</A">http://detnews.com</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>