Install Environment Variables

Endpoint Privilege Management for Unix and Linux uses several environment variables to direct and modify the execution of programs and scripts. The following table describes these variables.

Variable

Description

COLUMNS

Specifies the width, in characters, of the current screen. This is used internally by the installation suite to request ps(1) (on most systems) to give more output on a line for the ps –ef command when determining current system state.

EDITOR

If the VISUAL environment variable is not set and this environment variable is set, then the specified editor becomes the default for editing files during the installation.

LINES

Specifies the number of lines on a page (screen). This variable is used on some systems by some programs to determine how many lines can be output.

PAGER

Specifies the page-viewing program. Use more, less, pg, or administrator-specified programs.

PATH

Specifies the locations of utilities such as awk, fgrep, grep, gunzip, sed, tar, uncompress, wc, and other Unix/Linux commands that are used by the installer.

ROWS

Used on some systems in place of the LINES environment variable. This usage is system dependant.

SHELL

Specifies the shell that is used by sub-shells of the installer. If specified, this should be /bin/sh or /usr/bin/sh as appropriate for your system.

SY_InstallBackupLimit

This variable limits the number of backup copies (the *.sybak.#### files) of a given file that are allowed on a system for a given original file. The value of this environment variable must be an integer greater than or equal to 4. The default value (if this variable is not defined) is 10.

The minimum value of 4 is necessary for internal installation suite processing. Some files (notably /etc/services) undergo two phases of processing. The first phase ensures that no entries that are relevant to the new installation exist in the file. The second adds any entries that are required by the new installation.

SY_InstallPageSize

Specifies the page size for the pbinstall menu page.

SY_InstallPageWidth

Specifies the page width for the pbinstall menu page.

TMPDIR

In addition to its traditional Unix and Linux usage, this variable specifies the directory of the .cfg* files that are produced and read by the installation suite.

Files that are saved by pbuninstall can be saved in this directory. Temporary files that are created by the installation suite can also be created in this directory.

The default value is /tmp. For some systems, and some sites which periodically clean out /tmp, this is an undesirable location for the installer files if an uninstallation or re-installation is being performed after these files have been removed.

When a temporary directory is specified in pbinstall or Solrinstall, TMPDIR is overwritten.

By design, Debian appears to clean /tmp when it boots. It is a good idea to point TMPDIR somewhere else, such as /opt/beyondtrust/pb/TMPDIR, after it is created for these systems during installation, pbmakeremotetar, and uninstallation processes.

VISUAL

Specifies the visual editor to use when editing parameter files during the installation process.