The following procedure applies to NSX Manager, NSX Edge, Cloud Service Manager, and NSX Intelligence appliances.
Note: If you have an
NSX Manager cluster, resetting the password for the
admin or
audit user on one
NSX Manager will automatically reset the password for the other
NSX Managers in the cluster. Note that the synchronization of the password can take several minutes or more.
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.
If you know the password for
root but have forgotten the password for
admin or
audit, you can reset it using the following procedure:
- Log in to the appliance as root.
- For an NSX Intelligence appliance or a Cloud Service Manager, skip this step. 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. You can then use the above procedure to reset the password for admin or audit.