[Techtalk] bash

Chris Wilson chris+linuxchix at aptivate.org
Wed Jun 9 22:40:47 UTC 2010


Hi Maria,

On Wed, 9 Jun 2010, Maria McKinley wrote:

> Quick question, hopefully not too dumb. I want to export a variable to 
> be available to everyone when they log on, but it seems that when one 
> ssh's in to our machines, the /etc/bash.bashrc isn't being read. Where 
> else can I put it?

Try /etc/profile or /etc/bash_profile? You'll need to reboot for changes 
to take effect.

Cheers, Chris.
-- 
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.



More information about the Techtalk mailing list