vserver cifs users-and-groups local-user create

Create 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 create command creates a local user and optionally sets the attributes for that local user. The command prompts for the local user's password.


The user name must meet the following criteria:
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.
[-full-name <TextNoCase>] - Full Name
This specifies the user's full name. If the full name contains a space, enclose the full name within double quotation marks.
[-description <TextNoCase>] - Description
This specifies a description for this local user. If the description contains a space, enclose the parameter in quotation marks.
[-is-account-disabled {true|false}] - Is Account Disabled
This specifies whether the user account is enabled or disabled. Set this parameter to true to disable the account. Set this parameter to false to enable the account. If this parameter is not specified, the default is to enable the user account.

Examples

The following example creates a local user "CIFS_SERVER\u1" associated with Vserver "vs1".
cluster1::> vserver cifs users-and-groups local-user create -vserver vs1 -user-name CIFS_SERVER\u1

Enter the password:
Confirm the password: