If you have forgotten the root, admin, or audit user's password, you can reset it by booting the appliance into single-user mode.

Note: If you have an NSX Manager cluster, resetting the password for the root, admin, or audit user on one NSX Manager will automatically reset the password for the other NSX Managers in the cluster.

When you reboot an appliance, the GRUB boot menu does not appear by default. The following procedure requires that you have configured the appliance to display the GRUB boot menu. For more information, see "Configure NSX-T Data Center to Display the GRUB Menu at Boot Time" in the NSX-T Data Center Installation Guide.


  1. Connect to the console of the appliance.
  2. Reboot the system.
  3. When the GRUB boot menu appears, press the left SHIFT or ESC key quickly. If you wait too long and the boot sequence does not pause, you must reboot the system again.
  4. Press e to edit the menu.
    Enter the user name ( root) and password.
  5. Keep the cursor on the Ubuntu selection.
  6. Press e to edit the selected option.
  7. Search for the line starting with linux.
  8. Remove all options after root=UUID=.
  9. Add the following option.
    rw single init=/bin/bash
  10. Press Ctrl-X to boot.
  11. When the log messages stop, press Enter.
    You will see the prompt root@(none):/#.
  12. If you are resetting the password for root, run the command passwd.
    If you are resetting the password for admin or audit, run the command passwd <admin or audit user ID>.

    You can run the passwd command multiple times.

  13. Enter a new password.
  14. Enter the password again.
  15. If you are resetting the password on an NSX Manager, run the following commands and skip the next 2 steps.
    mount /dev/sda2 /mnt/
    for a in dev sys proc
    mount --bind /$a /mnt/$a
    chroot /mnt /bin/bash
    mount /config
    touch /config/vmware/nsx-node-api/reset_cluster_credentials
    umount /config
    umount /mnt/dev 
    umount /mnt/sys
    umount /mnt/proc
    umount /mnt/
  16. Run the command sync.
  17. Run the command reboot -f.