vserver services name-service unix-user modify
Modify a local UNIX user
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver services name-service unix-user modify command modifies a local UNIX user's ID, primary group ID, or full name.
Parameters
- -vserver <vserver name> - Vserver
 - This parameter specifies the Vserver on which the local UNIX user is located.
 - -user <text> - User Name
 - This parameter specifies the user account that you want to modify.
 - [-id <integer>] - User ID
 - This optional parameter specifies an ID number for the user.
 - [-primary-gid <integer>] - Primary Group ID
 - This optional parameter specifies the ID number of the user's primary group.
 - [-full-name <text>] - User's Full Name
 - This optional parameter specifies the user's full name.
 
Examples
The following example modifies the local UNIX user named pjones on a Vserver named vs0. The user's primary group ID is changed to 100 and the user's full name is Peter Jones.
vs1::> vserver services name-service unix-user modify -vserver vs0 -user pjones -primary-gid 100 -full-name "Peter Jones"
Give documentation feedback