Re: howto set global environment variable (e.g. PATH, JAVA_HOME)

2007-08-11 Thread pixotec
thank you all for your tips. I had success in two ways. first way: changed path and added setenv in default-class in /etc/login. did not work first , had to change .profile of my user, because setting of PATH in .profile eliminated setting in login.conf. also /etc/skel/.profile had to be changed

howto set global environment variable (e.g. PATH, JAVA_HOME)

2007-08-08 Thread pixotec
I want to set the environment variables PATH=$PATH:/usr/local/jdk-1.5.0/bin JAVA_HOME=/usr/local/jdk-1.5.0 globally. for one user I can change therefor .profile like this: PATH=/usr/local/jdk-1.5.0/bin:/bin:... ... export PATH HOME TERM but I want it for all users: 1. could change all .profile-