For local users of the VMware Aria Operations for Logs appliance, you configure the password expiration policy on a per-user basis.

Table 1. Default Password Expiration Policy for VMware Aria Operations for Logs

Local User

Setting

Default

Description

root

maxdays

99999

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 VMware Aria Operations for Logs at <aria_operations_for_logs_fqdn>:22 as the root user by using a Secure Shell (SSH) client .
  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 each of the remaining VMware Aria Operations for Logs 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 vrli
  4. To configure the local user password expiration policy, run the command.

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