Home FAQ Download
User Guide Applications Internals
License Publications Contact

Environment Variables

The following environment variables are use in Antigone. It is usually sufficient to only set up the NAME and ANTI_HOME variables. The others allow for more flexibility in administering systems.

NAME : Member name. This should be unique for each group member. This will not be used to uniquely identify group members, but is used by the example programs and can be useful for debugging, as it clarifies from where messages originate.

ANTI_HOME : Root directory of Antigone source tree.

ANTI_PATH : List of directories to search for all Antigone files.

ANTI_TCL_PATH : List of directories to search for tcl executables.

ANTI_CERT_PATH : List of directories to search for authentication certificates.

ANTI_POLICY_PATH : List of directories to search for policy files and policy file list files.

When searching for a file, Antigone will search these directories in the given order. The first occurance of the required file is used. Note that ANTI_HOME may be defined as a macro at compile time to provide a search path built-in to the application. To do this, specify it in the configure and make command:

    ./configure --with-preproc-flags=-DANTI_HOME

The types of file needed by Antigone are:

Note in the lists below, $ANTI_PATH refers to the shell environment variable and ANTI_PATH refers to the C++ macro.

Each of the following lists is searched in the given order. Antigone uses the first file found. For example, if a policy file of foo.apd was given, and there was a foo.apd in the current directory and one in the $ANTI_HOME/docs/policy directory, then the one in the current directory would be used.

Search list for tcl files:

  1. . (current directory)
  2. $ANTI_TCL_PATH
  3. $ANTI_PATH
  4. $ANTI_HOME/src/tkiapps
  5. ANTI_HOME/src/tki
  6. ANTI_HOME/src/tkiapps
  7. /usr/src/antigone-2.0/src/tki
  8. /usr/src/antigone-2.0/src/tkiapps
  9. /usr/local/src/antigone-2.0/src/tki
  10. /usr/local/src/antigone-2.0/src/tkiapps
  11. $PATH
Search list for certificate files:

  1. . (current directory)
  2. $ANTI_CERT_PATH
  3. $ANTI_PATH
  4. $ANTI_HOME/docs/certs
  5. $ANTI_HOME/docs/policy
  6. ANTI_HOME/docs/certs
  7. ANTI_HOME/docs/policy
  8. /usr/src/antigone-2.0/docs/certs
  9. /usr/src/antigone-2.0/docs/policy
  10. /usr/local/src/antigone-2.0/docs/certs
  11. /usr/local/src/antigone-2.0/docs/policy
Search list for policy files (and files containing lists of policy files):

  1. . (current directory)
  2. $ANTI_POLICY_PATH
  3. $ANTI_PATH
  4. $ANTI_HOME/docs/policy
  5. ANTI_HOME/docs/policy
  6. /usr/src/antigone-2.0/docs/policy
  7. /usr/local/src/antigone-2.0/docs/policy


Factotem Inc, Antigone Version 2.0.10, Nov 18, 2002
antigone@factotem.com
Antigone Home