NSX password policy settings do not meet the audit requirements.
search cancel

NSX password policy settings do not meet the audit requirements.

book

Article ID: 423432

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi

Issue/Introduction

NSX Manager appliances require security hardening to meet audit compliance for password history, account lockout duration, and network forwarding states.

  • Password history is not enforced (defaults to 0).
  • Account lockout duration is less than 30 minutes (defaults to 900s).
  • Packet forwarding is enabled by default.

Environment

VMware NSX 4.1.2.3

Cause

 NSX Manager appliances use default PAM (Pluggable Authentication Modules) configurations that do not meet strict security hardening standards unless modified via CLI.

Resolution

Workaround : 

Modify the NSX password policy and security settings using official CLI commands:

  1. Log in to the NSX Manager appliance via SSH as admin.
  2. Enter the root shell: start shell
  3. Set the password history to remember the last 4 passwords: set auth password-policy history 4
  4. Set the account lockout duration to 1800 seconds (30 minutes): set auth password-policy lockout-duration 1800
  5. Disable packet forwarding: set service forwarding-state disabled
  6. Verify the updated settings: get auth password-policy

Additional Information

Reference :