Hello all,
I have some questions regarding my setup of CentOS 4.6 machine.
Scenario:
----------------------
1. I have made 4 user accounts, all belong to a group - developers. One user, admin is also in a group "admin".
2. I am going to install various Java tools on admin account. Like right now, I have installed JDK from admin account.
Questions:
----------------------
1. I am configuring ~/.bash_profile to have an environment variable JAVA_HOME exported. I want this configuration done for all users in "developers" group, automatically, when they login. Can this be done?
Code:
[admin~]# vi ~/.bash_profile
JAVA_HOME=/usr/local/jdk1.6.0_10
export JAVA_HOME
[admin~]#
Note:
----------------------
I'll be editing this post as and when I have more questions regarding this setup. Thanks for all the help.