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: pgpV5O8lG8rRu.pgp
Description: PGP signature

Reply via email to