Backtrack:  
 
by lunarg on February 2nd 2019, at 15:44

You can disable password expiration from the command-line when logging on using SSH or by enabling the Bash shell. Note that you will need root privileges (i.e. root account) to make this change.

If shell access is not enabled, you need to enable it first:

  1. Log on to the appliance management portal: https://ip-or-fqdn:5480/.
  2. In the Navigator, click on Access. On the right side (Access Settings), click on the Edit button.
  3. Tick the box next to Enable SSH Login for remote access, or if you rather prefer making the change through the VMRC, check the box Enable BASH Shell. Then click OK. The change is effective immediately.

Log on to the shell using either SSH (using PuTTY or another application) or the VMRC. Note that you will first be logged in to a limited CLI. The prompt will display Command>.

Enter the BASH shell by typing and then pressing Enter:

shell

A regular BASH shell prompt will appear: root@hostname [ ~ ]#

At the command-line, type in the following and press Enter:

chage -M -1 -E -1 root

If the change is successful, you will not get any output and the prompt will appear again.