Skip to main content
A newer release of this product is available.

vserver cifs users-and-groups local-user create

Contributors
Suggest changes

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 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.

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.

[-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: