test_privilege_delegation_setting

指定したホストの権限委任設定をテストします。

書式

標準モード

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

インタラクティブまたはスクリプト・モード

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

[ ]  indicates that the parameter is optional

オプション

  • host_name

    ホストのターゲット名。

  • cred_name

    資格証明の名前。

  • cred_owner

    資格証明の所有者

終了コード

成功した場合は0です。0以外の値は、Verb処理が正常終了しなかったことを意味します。

例1

この例では、my_hostという名前のホストとmy_credという名前の資格証明について権限委任設定をテストします。

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

例2

この例では、my_hostという名前のホストとowner1が所有するmy_credという名前の資格証明について権限委任設定をテストします。

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