[plug] Setting environment variables in Debian

Craig Ringer craig at postnewspapers.com.au
Fri Sep 26 00:17:43 WST 2003


> I've tried setting environment variables in /etc/profile without success as follows
> ORACLE_BASE="/ora"
> export ORACLE_BASE
> 
> Can you help?

Yeah.

You're almost always better off using pam_env and 
/etc/security/pam_env.conf . It's _much_ nicer to work with. You may 
need to modify your PAM configuration to use it, but it's really quite 
simple to use. pam_env is probably already on your distro, and the man 
pages should be enough info to get you started.

Craig Ringer

_______________________________________________
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