6.5.1

Table Of Contents
You can also set up a new local user account and specify an email and the full name of the user. For
example, to add the local user account test1 with the operator user role, full name TestName and the
email address test1@mymail.com, run the following command:
localaccounts.user.add --role operator --username test1 --password --fullname TestName --
email test1@mymail.com
You cannot use spaces in full names.
3 Enter and conrm the password of the new local user when prompted.
You created a new local user in the appliance.
Update the Password of a Local User in the vCenter Server Appliance
You can update the password of a local user in the vCenter Server Appliance for security reasons.
Procedure
1 Access the appliance shell and log in as a user who has a super administrator role.
The default user with a super administrator role is root.
2 Run the localaccounts.user.password.update --username user name --password command.
For example, to change the password of a user with user name test, run the following command:
localaccounts.user.password.update --username test --password
3 Enter and conrm the new password when prompted.
Update a Local User Account in the vCenter Server Appliance
You can update an existing local user account in the vCenter Server Appliance.
For information about the user roles, see “User Roles in the vCenter Server Appliance,” on page 50.
Procedure
1 Access the appliance shell and log in as a user who has a super administrator role.
The default user with a super administrator role is root.
2 Run the localaccounts.user.set --username command to update an existing local user.
n
To update the role of the local user, run the following command:
localaccounts.user.set --username user name --role new role
Here, user name is the name of the user that you want to edit and new role is the new role. The role
can be operator, admin, or superAdmin.
n
To update the email of the local user, run the following command:
localaccounts.user.set --username user name --email new email address
Here, user name is the name of the user that you want to edit and new email address is the new email
address.
n
To update the full name of the local user, run the following command:
localaccounts.user.set --username user name --fullname new full name
Chapter 4 Using the Appliance Shell to Configure the vCenter Server Appliance
VMware, Inc. 51