The Schwarrisons

KB0015 - Avoiding Password Expiry in NSX Manager and Edges

Avoiding expired root / admin credentials is simple and should but should only ever be done on lab instances
KB0015 - Avoiding Password Expiry in NSX Manager and Edges

To avoid automatic password expiry for root, audit and admin users on both NSX manager and edges we can set the password expiry to 9999 days. This is better than disabling password expiry altogether, as some checks later might require password expiry to be enabled.

SSH to the manager using individual IP (not cluster IP) using admin credentials

Run the following commands to prevent password expiration for the three accounts:

Increasing the Number of Days to Password Expiry

set user admin password-expiration 9999
set user audit password-expiration 9999
set user root password-expiration 9999

Validate settings have taken effect:

get user admin password-expiration
get user audit password-expiration
get user root password-expiration

About the author
Stephen Schwetz

The Schwarrisons

Herping the derp!!

The Schwarrisons

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to The Schwarrisons.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.