gp.mappers.runcommand.as.root.env.list

This configuration parameter specifies the list of environment variables that are exported to the environment so that a root user can run Group Policy commands. Use the forward slash "/" to specify environment variables and their values. Use a space to separate multiple name/value pairs. If an environment variable contains spaces, enclose the value in quotes or add a backslash "\" before the space.

You can also specify other environment variables as a value.

For example:

gp.mappers.runcommand.as.root.env.list: env1/value1 env2/va\ lue2 env3/"va lue3" env4/value4_${HOSTNAME}

Note:   If the gp.mappers.runcommand.as.user parameter is set to true, the gp.mappers.runcommand.as.root.env.list has no effect for user Group Policy commands because the service runs the user's group policy commands as the user's login shell and resets all environment variables.