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:
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:
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.