Skip to main content

Create a local UNIX group

Contributors

You can use the vserver services name-service unix-group create command to create UNIX groups that are local to the SVM. Local UNIX groups are used with local UNIX users.

Step
  1. Create a local UNIX group:

    vserver services name-service unix-group create -vserver vserver_name -name group_name -id integer

    -name group_name specifies the group name. The length of the group name must be 64 characters or fewer.

    -id integer specifies the group ID that you assign.

Example

The following command creates a local group named eng on the SVM named vs1. The group has the ID 101.

vs1::> vserver services name-service unix-group create -vserver vs1 -name eng -id 101