nsx-mngr-01> st en% Cannot enter the root shell if the root user's password has expired, invoke the following command to change root's password:set user root password
VMware NSX
VMware NSX-T Data Center
Password expiration (90 day by default) was introduced in NSX-T 2.4.0, because of security requirements.
By default, password expiration is configured for 90 days.
Since 2.4.0 Password Policy Enhancements: Enforces minimum password length of 12 characters for default passwords. Introduces ability to set password expiration times and generates alarms when password is about to expire.
For more details regarding password expiry please see (Modifying the Default Admin Password Expiration)
nsx-mngr-01> set user root password-expirationnsx-mngr-01> set user root password-expiration 9999Log in to one NSX Manager node via SSH or Console as root.
To replicate to other servers, stop the Management Plane API service: /etc/init.d/nsx-mp-api-server stop
Restart the API service: /etc/init.d/nsx-mp-api-server start
Note: Execute "start search resync all" on the master node with admin account to resync new password on all 3 manager nodes, in case the root password doesn't sync across other manager nodes. Refer KB 317192
Reference doc: Resetting the passwords of an Appliance