Skip to main content

vserver services ndmp generate-password

Contributors
Suggest changes

Generates NDMP password for a user

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command is used to generate NDMP password for a given user in the specified Vserver context. The generated NDMP password is based on the user's login password. For this reason regenerate it whenever the user's login password changes. This command fails if a user does not exist for the Vserver.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver

Specify the Vserver context for which password is to be generated.

[-user <text>] - User

Specify the user name for which the NDMP password needs to be generated.

[-password <text>] - Password

The generated NDMP password string that is used for authentication.

Examples

The following example shows the usage this command to generate NDMP password for a user belonging to a specific Vserver:

cluster1::> vserver services ndmp generate-password -vserver vserver1 -user user1
Vserver: vserver1
    User: user1
Password: a9cCCUp32yjGmBiD