vserver cifs users-and-groups local-user set-password
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
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:
-
The password must be at least six characters in length.
-
The password must not contain user account name.
-
The password must contain characters from three of the following four categories:
-
English uppercase characters (A through Z)
-
English lowercase characters (a through z)
-
Base 10 digits (0 through 9)
-
Special characters: ~, !, @, #, 0, ^, , *, _, -, +, =, `, \, |, (, ), [, ], :, ;, ", ', <, >, ,, ., ?, /
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.