[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting global environment correctly



On Thu, Nov 17, 2005 at 10:42:48PM +0100, Allan Jensen wrote:
> Hello,
> 
> what is considered the "correct" way of setting global and exported
> environment variables in debian? Specifically I want to set ORACLE_HOME
> and other oracle-related variables in a way that works in both console
> and X.
> 
> I would also like to add $ORACLE_HOME/bin to the global PATH.
> 

For global settings, check /etc/environment, /etc/login.defs and
/etc/gdm/gdm.conf (or /etc/kdm/kdm.conf).

For a single user, then ~/.bash_profile or ~/.profile is the way to go.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: pgp0wLgU03ize.pgp
Description: PGP signature


Reply to: