Kbase P2904: How to permanently save modifications to user environments
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/7/2003 |
|
Status: Unverified
GOAL:
how to permanently save modifications to user environments under Unix
FIX:
Under any shell in each user's home directory there should be a file called .profile. This file contains the environment settings for each user. Modifications to these settings can be saved here.
To add a new directory (e.g. /usr/java/jdk) to a user's PATH where PATH=/user/bin, for instance, the PATH line could be modified as follows:
PATH=/usr/java/jdk:/user/bin
Or the following line could be added:
PATH=/usr/java/jdk:$PATH; export PATH