Modify root password expiration configuration
search cancel

Modify root password expiration configuration

book

Article ID: 423940

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Unable to clear or leave the Email for expiration warning field empty within the vCenter Server Management Interface (VAMI).  The interface requires a valid email format to save changes, even if email notifications are not desired.

Cause

The behavior occurs due to a validation requirement in the vCenter Server password expiration settings configuration in the VAMI. This is a mandatory field in the VAMI UI.

Resolution

At this time, there is no supported method to leave the Email for Expiration warning field completely unset through the vCenter UI.

NOTE: Prior to making any changes, a current snapshot should be taken of the vCenter Server.

Workarounds:

Method 1: Use a Placeholder Address (Recommended)

To bypass the UI validation without enabling actual notifications, enter a non-functional placeholder email address.

  1. Log in to the vCenter Management Interface (https://<vcenter-ip>:5480)

  2. Navigate to the Administration then select Password Expiration settings.Click on Edit.

  3. In the Email for Expiration field, enter a Placeholder such as:

  4. Save the changes.

Note: This satisfies the UI requirement without impacting system performance or routing emails externally.

Method 2: Command Line Interface (CLI)

If you wish to modify password expiration parameters without providing an email address, you can use the Linux "chage" utility via SSH.

  1. Log in to the vCenter Server Appliance (VCSA) via SSH as root.

  2. Run the following command to modify the expiration for a specific user

    chage -M [days] [username]
    
  3. This method updates the account expiration policy directly in the OS, bypassing the UI validation requirements.

Additional Information

root パスワードの有効期限設定の変更