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

Stephen Schwetz

I collect movies TV series and acronyms after my name. I am an active ADHD and Autistic, who suffers from all the trauma of trying to fit into a social system that doesn't work for the last 46 years

The Schwarrisons

A Neurodivergent Family Trying to Fit Their Square Pegs Into the Round Holes of Life

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.