You can reset the root, admin, or audit user's password 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.


  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.
    You will be asked for the GRUB 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 command touch /config/vmware/nsx-node-api/reset_cluster_credentials.
  16. Run the command sync.
  17. Run the command reboot -f.