Skip to main content

Add a user to a local UNIX group

Contributors netapp-aherbin

You can use the vserver services name-service unix-group adduser command to add a user to a supplemental UNIX group that is local to the SVM.

Step
  1. Add a user to a local UNIX group:

vserver services name-service unix-group adduser -vserver vserver_name -name group_name -username user_name

-name group_name specifies the name of the UNIX group to add the user to in addition to the user's primary group.

Example

The following command adds a user named max to a local UNIX group named eng on the SVM named vs1:

vs1::> vserver services name-service unix-group adduser -vserver vs1 -name eng
-username max