Login to vCenter Server Appliance Management Interface failed with custom user
search cancel

Login to vCenter Server Appliance Management Interface failed with custom user

book

Article ID: 318481

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Login to vCenter Server Appliance Management Interface failed with custom user
  • Failed to show custom user with appliance shell:
Command> localaccounts.user.get --username test1126

Error in method: Invalid local account name. (code com.vmware.applmgmt.err_invalid_user_name)


Environment

VMware vCenter Server Appliance 6.7.x

Cause

This issue causes because of default shell for custom user set to bash. This issue can be seen in vCenter Server Appliance 6.7 Update 3.

Resolution

This issue is resolved in 6.7u3g(P05)

Workaround:
To enable log in VMware vCenter Server Appliance Management Interface with customer user, perform the following steps:

1. Login with the custom user in ssh / DCUI console.
2. Run the following command:
$ chsh -s /bin/appliancesh

3. Provide the password when prompted.