I've looked in several places and not seen how to change the password for direct access to the NSX Manager (i.e. not via vCenter):
Is there a way to change it?
It should work with:
enable
con t
cli password PASSWORD
write memory
(just tested this with NSX-v 6.1.2)
I think your command is trying to create the admin user again.
Cheers
Richard
If you're not actually locked out then have you looked at page 15 of the NSX CLI guide?
Hello Richard,
I try this procedure from Page 15:
http://pubs.vmware.com/NSX-61/topic/com.vmware.ICbase/PDF/nsx_61_cli.pdf
this will not work for admin user. you will get this error:
nsxmgr-l-01a(config)# user admin password plaintext VMware1!
Failed to add user. Note: You cannot use this command to change the passwd of an existing user.
ERROR: could not add user:admin
It should work with:
enable
con t
cli password PASSWORD
write memory
(just tested this with NSX-v 6.1.2)
I think your command is trying to create the admin user again.
Cheers
Richard
Thanks; I verified Richard's answer in our 6.1.2 env. I had overlooked the existence of a CLI ref doc.
"cli password <password>" changes the admin password for CLI, API and Web access. The vCenter connection is not affected (NSX must sync any changes needed) so you can continue managing resources.