Unable to create a local users through CLI on the NSX Manager
search cancel

Unable to create a local users through CLI on the NSX Manager

book

Article ID: 410679

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • using the standard linux command to add user on the NSX  Manager is not successful. 

useradd <Username>

 

 

Environment

VMware NSX
VMware NSX-T Data Center

Cause

Using the standard linux  command to add a user in NSX is not supported.

 

Resolution

The ability to add local users is only available in NSX 4.1 onwards

Add a Local User

Specifically, a local user can be added using the nsx-cli command:  

add user <username> 

Note:  By default status for newly created local user will be NOT_ACTIVATED and administrator will require to explicitly activate such users

User can be activated and password applied using the nsx-cli command  : 

activate user <username>  password <password>

Additional Information

User can also be activated from the NSX Manager UI:

Activate a Local User in NSX Manager

NSX CLI Guide