Skip to main content

Modify local groups

Contributors netapp-ahibbard

You can modify existing local groups by changing the description for an existing local group or by renaming the group.

If you want to…​ Use the command…​

Modify the local group description

vserver cifs users-and-groups local-group modify -vserver vserver_name -group-name group_name -description text If the description contains a space, then it must be enclosed within double quotation marks.

Rename the local group

vserver cifs users-and-groups local-group rename -vserver vserver_name -group-name group_name -new-group-name new_group_name

Examples

The following example renames the local group “CIFS_SERVER\engineering” to “CIFS_SERVER\engineering_new”:

cluster1::> vserver cifs users-and-groups local-group rename -vserver vs1 -group-name CIFS_SERVER\engineering -new-group-name CIFS_SERVER\engineering_new

The following example modifies the description of the local group “CIFS_SERVER\engineering”:

cluster1::> vserver cifs users-and-groups local-group modify -vserver vs1 -group-name CIFS_SERVER\engineering -description "New Description"