Information Technology Reference
In-Depth Information
Figure 8.2
For a user, you can
change the UID,
username, pass-
word, and group
membership, but
you can't change
the Login fi eld.
4. Click OK to make the changes to the selected user account.
To edit a group using the vSphere Client, the steps are almost identical to the preceding
steps. However, when you're editing a group, the context menu won't show an Edit command;
you'll use Properties instead. Also, when editing a group, you can't change any properties of the
group except its members.
Perform the following steps to edit a local user or group using the CLI:
1. Using PuTTY.exe (Windows) or a terminal window (Mac OS X or Linux), establish an
SSH session to the vMA instance.
2. Use this command to modify a user account on a specii c ESXi host:
vicfg-user --server esxi-03.lab.local --username root --entity user
--login LoginName --newusername ″New Full Name″ --operation modify
To modify a group, change the --entity and --login parameters, like this:
Vicfg-user --server esxi-03.lab.local --username root --entity group
--operation modify --group TestGroup --adduser testuser --removeuser bob
As with the vSphere Client, editing a group via vicfg-user is limited to adding users to
or removing users from the group.
3. If prompted for the password to execute the command (this will depend on your vMA
coni guration), enter the password for the user specii ed with the --username parameter.
Let's wrap up this discussion of managing local users and groups with a review of how to
delete local users and groups from an ESXi host.
Search WWH ::




Custom Search