Re: Environment variables
From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 03/09/05
- Previous message: deja.10.thrillho_at_spamgourmet.com: "Re: What happened to gdm enabled=true???"
- In reply to: Jubri Siji: "Re: Environment variables"
- Next in thread: GreyBeard: "Re: Environment variables"
- Reply: GreyBeard: "Re: Environment variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 08 Mar 2005 21:49:53 -0600
On Wed, 09 Mar 2005 01:59:43 +0000, Jubri Siji wrote:
> Thanks it worked , typed it in myself instead of pasting so what file do i
> modify to make sure it gets loaded when any user logs on
You can create a file, call it "/etc/profile.d/my-env.sh", with lines such
as:
export FOO=bar
in it. Be sure to make it executable (chmod +x /etc/profile.d/my-env.sh).
This should work for BASH; if folk use a different shell, you can use the
same technique, depending on where they source their startup files.
Cheers
- Previous message: deja.10.thrillho_at_spamgourmet.com: "Re: What happened to gdm enabled=true???"
- In reply to: Jubri Siji: "Re: Environment variables"
- Next in thread: GreyBeard: "Re: Environment variables"
- Reply: GreyBeard: "Re: Environment variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|