This configuration parameter specifies whether privileged commands run with dzdo commands should set the HOME environment variable to the home directory of the target user (which is root by default). The parameter value can be true or false. Setting this parameter to true effectively implies that the -H command line option should always used. The default parameter value is false.

For example:

dzdo.always_set_home: false

This configuration parameter provides functionality equivalent to the always_set_home flag for configuring the sudoers file and sudo operation.

You can also set this parameter using group policy.