For local users of the VMware Aria Automation appliances, you configure the password expiration policy on a per-user basis.

Table 1. Default Password Expiration Policy for VMware Aria Automation

Local User

Setting

Default

Description

root

maxdays

365

Maximum number of days between password change

mindays

0

Minimum number of days between password change

warndays

7

Number of days of warning before a password expires

UI Procedure

  1. Log in to the primary VMware Aria Automation node by using a Secure Shell (SSH) client at <aria_automation_primary_node_fqdn>:22 as root.
  2. Change the value of the maximum number of days between password change by running the following command.
    chage --maxdays <your_value> root
  3. Change the value of the minimum number of days between password change by running the following command.
    chage --mindays <your_value> root
  4. Change the value of the number of days of warning before the password expires by running the following command.
    chage --warndays <your_value> root
  5. Verify the configuration of the desired values by running the following command.
    chage --list root
  6. Repeat the procedure for the remaining VMware Aria Automation appliances.

PowerShell Procedure

  1. Start PowerShell.
  2. Replace the values in the sample code and run the commands.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" 
    $sddcManagerUser = "[email protected]" 
    $sddcManagerPass = "VMw@re1!" 
    
    $localUser = "root"
    
    $maxDays = "90" 
    $minDays = "0" 
    $warnDays = "7"
  3. To get the current configuration, run the command.
    Request-AriaLocalUserPasswordExpiration -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -product vra
  4. To configure the local user password expiration policy, run the command.

    Update-AriaLocalUserPasswordExpiration -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -product vra -localuser $localUser -maxdays $maxDays -mindays $minDays -warndays $warnDays
  5. Run the command in Step 3 to get the updated configuration.