[plug] Setting environment variables in Debian

James Devenish devenish at guild.uwa.edu.au
Fri Sep 26 07:42:45 WST 2003


In message <1064498062.3f72f38e232a9 at mailmanager.arach.net.au>
on Thu, Sep 25, 2003 at 09:54:22PM +0800, caston at arach.net.au wrote:
> I've tried setting environment variables in /etc/profile without
> success as follows
> ORACLE_BASE="/ora"
> export ORACLE_BASE

Good generalised login solutions have already been sent to the list. But
on the topic of why /etc/profile may or may not work, realise that
/etc/profile (and the "export ORACLE_BASE" syntax) are shell-specific.
If Bash is the shell in use, see `man bash` or `info bash`. In the case
of Bash, /etc/profile is only used if Bash is invoked as a "login"
shell.


_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list