How to change the environment variable of a user ?

Hi,How do I change the environment variable of a user, say orambd.fromORA_NLS33=/oracle/client/81x_64/ocommon/nls/admin/datatoORA_NLS33=/oracle/MBD/920_64/ocommon/nls/admin/dataPlease helpAshraf.
[251 byte] By [ashrafkt] at [2007-11-26 9:27:42]
# 1

That depends on the user's shell.

If it is sh, ksh, ash, bash, or zsh, simply typing

ORA_NLS33=/oracle/MBD/920_64/ocommon/nls/admin/data

at the command line will do. If it's csh or tcsh, then try

setenv ORA_NLS33 /oracle/MBD/920_64/ocommon/nls/admin/data

If you want to do it permanently, then check the user's home directory for the appropriate initialisation file, which will be one of .profile, .bash_profile, .zprofile, or .login depending.

ceri_davies at 2007-7-7 0:07:54 > top of Java-index,General,Sys Admin Best Practices...
# 2
THANK YOU
ashrafkt at 2007-7-7 0:07:54 > top of Java-index,General,Sys Admin Best Practices...