Add a user to a local UNIX group
Contributors
Suggest changes
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- Security and data encryption
- Data protection and disaster recovery
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
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
-
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