VMware Cloud Community
xbradshr
Enthusiast
Enthusiast

add root user equivalent to vcenter 6 applicance

how do you add a root user equivalent (named user), to vcenter 6.0 appliance? is there a putty/SSH command?

Reply
0 Kudos
4 Replies
atusmenezes
VMware Employee
VMware Employee

Hello @ how are you?

You can create local users with the following roles:

Operator: Local users with the operator user role can read the appliance configuration.

Administrator: Local users with the administrator user role can configure the appliance.

Super Administrator: Local users with the super administrator user role can configure the appliance, manage the local accounts, and use the Bash shell.

Ref: User Roles in the vCenter Server Appliance

To do that, you can run this command in VCSA:

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

For example:

     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:

     localaccounts.user.add --role operator --username test1 --password --fullname TestName --email test1@mymail.com

Ref: Create a Local User Account in the vCenter Server Appliance

Reply
0 Kudos
xbradshr
Enthusiast
Enthusiast

I attempted the command, but it says the command is not found. Is this because the article refers to V6.7?

vcsa1:~ # localaccounts.user.add --role superAdmin --username username --password password

-bash: localaccounts.user.add: command not found

Reply
0 Kudos
atusmenezes
VMware Employee
VMware Employee

Reply
0 Kudos
Raj1988
Enthusiast
Enthusiast

Run the command from appliance shell .

Reply
0 Kudos