Comment 27 for bug 950790

Revision history for this message
Roger Preece (rwpreece) wrote :

If you create a text file in /etc/profile.d folder and call it something like my_environment.sh you can put you personalized environment variables in it and it will be run each time you login to your desktop environment. Whatever you decide to name it be sure it's file extension is .sh so that it will be recognized as a script file.

For this particular issue you would add the following line to your .sh file:

export NSS_SSL_CBC_RANDOM_IV=0

Once your added this file and the above line to this file, just reboot your system.

You can also put other environment variables in this file such as:

export JAVA_HOME=/home/xxxxxx/tools/jdk1.6.0_29
export PATH=$PATH:$M2:$JAVA_HOME/bin:$CATALINA_HOME/bin:$ORACLE_HOME/bin

Note that the PATH= environment variable is using other environment variables to augment your systems PATH environment variable.