Nancy, In Mandrake the .bash_profile calls the user .bashrc. Then the .bashrc calls the global bashrc. There is also a global bash_profile in there sometimes. If you want all users to have the same settings then you should put the environment variables in /etc/bash_profile and the alias'es in the /etc/bashrc.
This is "kind-of-standard", but the names and locations may be different to keep the hard core computer experts in business. Ben -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nancy Anthacite Sent: Sunday, August 08, 2004 10:13 PM To: Hardhats Subject: [Hardhats-members] Mystery solved I just spent a frustrating couple of hours with no Internet connection, trying to figure out why the heck all of those lovely exports of gtm_dist and the alias entries in .bash_profile were not showing up in env and alias listings, and not functioning. My son finally wandered in and, ever helpful, sshed into my machine to check out my syntax in the .bash_profile file, typed in env and alias, and there they were, no problem. He also tested them. They worked fine. Now that REALLY did it. Not only was I frustrated, I was nuts! So I dragged my kid over to sit down and try it on my machine directly. Fortunately, my machine cooperated by doing the same thing to him that it did to me. I was saved from being committed, at least for one more day. About then the modem started working and we got our answer. It turns out that, at least in Fedora Core 2, when you use a Konsole or terminal, .bashrc is called and that is where all of the exports and aliases need to be. If you work from a "login shell" like when you ssh into the machine, the .bash_profile is used. So, maybe we need to change or note that in our scripts and install instructions before others get the same unnecessary blood pressure elevation I did! ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Hardhats-members mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hardhats-members ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Hardhats-members mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hardhats-members