You will see alarm for root/admin/audit password expired on the following components:
NSX-T Manager
NSX-T Edge Node VMs
nsx-manager/edge> get user <root/admin/audit> password-expiration
Password expires 90 days after last change
User will receive warning messages 7 days before password expires.
Current password expired ## day ago.
<87>1 20##-##-##T05:##:##.495576+00:00 nsxmgrT-A2 sshd 7437 - - pam_unix(sshd:account): password for user admin will expire in 1 days<87>1 20##-##-##T05:##:##.614870+00:00 nsxmgrT-A2 CRON 7771 - - pam_unix(cron:account): password for user root will expire in 1 days
You are required to change your password immediately (password aged)Changing password for root.(current) UNIX password: New password: Retype new password:
Password expiration was introduced in VMware NSX-T 2.4.0.
By default, password expiration is configured for 90 days.
VMware NSX-T 2.4.0 introduced the ability to set password expiration times and generate an alarm when the password(s) are about to expire or expire.
If the password for admin/audit on the NSX appliance is already expired, you can reset the password by running the following command from nsxcli:
nsxtmgr> set user <admin/audit> passwordCurrent password:New password:Confirm new password:
As admin user, you can run the below command to change the password expire duration (maximum of 9999 days).
nsxtmgr> set user admin password-expiration 9999
Password expiration can also be disabled per user, for example, below the audit user password expiration is being disabled on the NSX manager:
nsxtmgr> clear user audit password-expiration
Please refer Resetting User Passwords and NSX CLI Guide for more details
Alternatively, using the API, under NodeUserProperties, you can also configure expiration time or disable it. ("set to 0 to disable password expiration").
Please refer NSX-T Data Center REST API for more details.
See Authentication Policy Settings for details on password complexity requirements.
Impact/Risks: