vserver cifs users-and-groups local-user set-password

Set a password for a local user

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

Description

The vserver cifs users-and-groups local-user set-password command sets the password for the specified local user. The password must meet the following criteria:

Parameters

-vserver <vserver name> - Vserver
This specifies the name of the Vserver.
-user-name <CIFS name> - User Name
This specifies the user name.

Examples

The following example sets the password for the local user "CIFS_SERVER\u1" associated with Vserver "vs1".
cluster1::> vserver cifs users-and-groups local-user set-password -user-name CIFS_SERVER\u1 -vserver vs1

Enter the new password:
Confirm the new password:


The following example attempts to set the password but fails because the password did not meet password complexity requirements.
cluster1::> vserver cifs users-and-groups local-user set-password -user-name CIFS_SERVER\u1 -vserver vs1

Enter the new password:
Confirm the new password:

Error: command failed: The password does not meet the password complexity
       requirements. Refer to the man page for details.