Set environment variables to be preserved by dzdo

Specify the list of environment variables to preserve or keep. When a command's "Reset environment variables" is enabled in the Centrify DirectControl Administrator Console, the user's environment variables will be reset to HOME, SHELL, LOGNAME, USER, USERNAME, TERM, PATH, SUDO_COMMAND, SUDO_USER, SUDO_UID, and SUDO_GID.

Variables specified in the command's "Keep environment variables" will be preserved in addition to a default list of variables to preserve.

The default list of variables to preserve is displayed when 'dzdo -V' is run as root. This default list can be replaced as the following example:

This policy modifies the dzdo.env_keep setting in the Centrify DirectControl configuration file.

Supported on:

Administrative Templates (Computers)

Administrative Templates (Users)