skoyano
Contributor
Contributor

vSphere 7 u1 : "localaccounts.user.add" to add local user returns "Error in executing command: 8002"

Hi, Experts,

I am trying to add local user to vCenter (vSphere 7.0 u1) with root user on appliance shell.
However, it always results in an error as below and the created user is disabled state..
How can I check more details of the error to identify the root cause ?

 

Command> localaccounts.user.add --role operator --username vmanager --password
Enter password:
Reenter password:
Error in executing command: 8002


Command> localaccounts.user.list
Config:
1:
Username: root
Role: superAdmin
Fullname: root
Status: enabled
Passwordstatus: never_expire
Email: ''
2:
Username: sso-user
Role: ''
Fullname: ''
Status: disabled
Passwordstatus: notset
Email: ''
3:
Username: dnsmasq
Role: ''
Fullname: ''
Status: disabled
Passwordstatus: notset
Email: ''
4:
Username: vmanager
Role: admin
Fullname: vmanager
Status: disabled
Passwordstatus: notset
Email: ''

Command>

Labels (1)
0 Kudos
0 Replies