The following procedure applies to NSX Manager, NSX Edge, and Cloud Service Manager appliances.
If you have renamed the user admin or audit, use the new name in the following procedures.
When you reboot an appliance, the GRUB boot menu does not appear by default. The following procedure requires that you have configured GRUB to display the GRUB boot menu. For more information about configuring GRUB and changing the GRUB root password, see "Configure NSX-T Data Center to Display the GRUB Menu at Boot Time" in the NSX-T Data Center Installation Guide.
- Log in to the appliance as root.
- For NSX Edge, run the command /etc/init.d/nsx-edge-api-server stop. Otherwise, run the command /etc/init.d/nsx-mp-api-server stop.
- To reset the password for admin, run the command passwd admin.
- To reset the password for audit, run the command passwd audit.
- Run the command touch /var/vmware/nsx/reset_cluster_credentials.
- For NSX Edge, run the command /etc/init.d/nsx-edge-api-server start. Otherwise, run the command /etc/init.d/nsx-mp-api-server start.
If you have forgotten the root user's password, you can reset it using the following procedure. If you are running NSX-T Data Center 2.5.0 or 2.5.1 and want to reset the password for admin and audit, use the following procedure as well. If you are running NSX-T Data Center 2.5.2 or later you can use the above procedure to reset the password for admin or audit after you reset the password for root.