vserver services name-service unix-group create

Create a local UNIX group

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

Description

The vserver services name-service unix-group create command creates a local UNIX group on a Vserver. Use a local UNIX group for Windows-to-UNIX and UNIX-to-Windows group mappings.

Parameters

-vserver <vserver name> - Vserver
Use this parameter to specify the Vserver on which to create the local UNIX group.
-name <text> - Group Name
Use this parameter to specify the name of the group to create.
-id <integer> - Group ID
Use this parameter to specify an ID number for the group.
[-skip-name-validation {true|false}] - Skip Name Validation

By default, Data ONTAP validates the name to ensure it complies with the following rules:

  • The name contains only valid characters: 0 through 9, A through Z, a through z, "_", ".", and "-"
  • The name does not start with "-"
  • The name does not contain "$" except as the last character

If the parameter is set to true, the name validation is skipped.

Examples

The following example creates a group named sales on a Vserver named vs0. The group has the ID 94.
cluster1::> vserver services name-service unix-group create -vserver vs0 -name sales -id 94