dzdo.passprompt

This configuration parameter lets you specify the password prompt displayed when running privileged commands. This parameter serves the same function as the dzdo -p command.

You can use the following escapes in the prompt:

Escape Description

%u

Expands to the invoking user’s login name

%U

Expands to the login name of the user the command will be run as. If not specified, defaults to root

%h

Expands to the local hostname without the domain name

%H

Expands to the local hostname including the domain name

%p

Expands to the user whose password is asked for

%%

Collapses to a single % character

The default prompt is [dzdo] password for %p: where %p is root unless specified otherwise.

For example,

dzdo.passprompt: "[dzdo] Enter password for %U@%h"

You can also set this parameter using group policy.