vserver cifs users-and-groups local-user rename
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Rename 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 rename
command renames a local user. The new user name must remain in the same domain as the old user name. + The new user name must meet the following criteria:
-
The user name length must not exceed 20 characters.
-
The user name cannot be terminated by a period.
-
The user name cannot include commas.
-
The user name cannot include any of the following printable characters: ", /, \, [, ], :, |, <, >, +, =, ;, ?, *, @
-
The user name cannot include characters in the ASCII range 1-31, which are non-printable.
Parameters
-vserver <vserver name>
- Vserver-
This specifies the name of the Vserver.
-user-name <CIFS name>
- User Name-
This specifies the user name.
-new-user-name <CIFS name>
- New User Name-
This specifies the new user name.
Examples
The following example renames the local user "CIFS_SERVER\u_old" to "CIFS_SERVER\u_new" on Vserver "vs1".
cluster1::> vserver cifs users-and-groups local-user rename -user-name CIFS_SERVER\u_old -new-user-name CIFS_SERVER\u_new -vserver vs1