You can create a new local user account in the vCenter Server Appliance.

About this task

For information about the user roles, see User Roles in the vCenter Server Appliance.

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.add -- role --username --password command.

    For example, to add the local user account test with the operator user role, run the following command:

    localaccounts.user.add --role operator --username test --password

    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 confirm the password of the new local user when prompted.

Results

You created a new local user in the appliance.