test_privilege_delegation_setting

Tests privilege delegation settings on a specified host.

Format

Standard Mode

emcli test_privilege_delegation_setting
        -host_name="Host Name"
        -cred_name="Cred Name"
        [-cred_owner="Cred Owner"]
 

Interactive or Script Mode

test_privilege_delegation_setting(
        host_name="Host Name"
        ,cred_name="Cred Name"
        [,cred_owner="Cred Owner"]
        )

[ ]  indicates that the parameter is optional

Options

  • host_name

    Target name of the host.

  • cred_name

    Credential name.

  • cred_owner

    Credential owner

Exit Codes

0 on success. A non-zero value means verb processing was not successful.

Examples

Example 1

This example tests the privilege delegation settings for a host named my_host and credentials named my_cred.

emcli test_privilege_delegation_setting
              -host_name="my_host"
              -cred_name="my_cred"

Example 2

This example tests the privilege delegation settings for a host named "my_host" and credential named "my_cred" owned by "owner1."

emcli test_privilege_delegation_setting
              -host_name="host"
              -cred_name="cred"
              -cred_owner="owner1"