VMware NSX

 View Only
  • 1.  Change NSX-T Manager root password

    Posted Jun 29, 2022 11:09 AM

    Hi,

    On NSX-T manager root password has expired. I successfuly reset the password via vmware console.

    Now I have a problem that I can't change my root password. I used the procedure bellow.

    1. SSH to NSX-T Manager with admin user
    2. st e (login to root)
    3. passwd
    4. root password successfuly changed
    5. sync
    6. reboot -f

    Now when  want to log in whit new root password, my login does not work. Login with reset password works normaly.

    How can I change the root password?



  • 2.  RE: Change NSX-T Manager root password



  • 3.  RE: Change NSX-T Manager root password

    Posted Jun 29, 2022 02:00 PM

    Hi Sreec,

    I have already successfuly reset root password, now I want to change password with more complex password, because this is not possible across the console and I may be wrong.



  • 4.  RE: Change NSX-T Manager root password
    Best Answer

    Broadcom Employee
    Posted Jun 29, 2022 02:02 PM

    Have you tried the set command mentioned in the link? 



  • 5.  RE: Change NSX-T Manager root password

    Posted Jun 29, 2022 03:08 PM

    It works. Thank you for help.



  • 6.  RE: Change NSX-T Manager root password

    Posted Aug 28, 2025 07:31 AM

    there is no command in the link.

    -------------------------------------------



  • 7.  RE: Change NSX-T Manager root password

    Broadcom Employee
    Posted Nov 20, 2025 05:59 AM

    You can change the password of NSX-T Manager with below command and it will ask for current password and allow you to set new password. 
    set user root password
    set user admin password
    set user audit password

    nsxtmgr>set user root password

                               Current password:
                               New password:
                               Confirm new password:
    nsxtmgr>set user admin password
                               Current password:
                               New password:
                               Confirm new password:
    nsxtmgr>set user audit password
                               Current password:
                               New password:
                               Confirm new password:

    https://techdocs.broadcom.com/us/en/vmware-cis/nsx/nsxt-dc/3-0/administration-guide/authentication-and-authorization/managing-local-user-accounts/manage-a-user-s-password-or-name-using-the-cli.html

    -------------------------------------------