Changing Passwords for Hardware Components

You can change the password for a compute node, leaf switch, management node, management switch, spine switch, or ZFS appliance component using the Service CLI. You can also change the ILOM password for a compute node or a management node.

Important:

The following password rules apply:
  • Passwords for compute nodes, leaf switches, management nodes, management switches, or spine switches must contain at least 8 but no more than 20 characters.
  • Passwords for ZFS appliance or ILOMs must contain at least 8 but no more than 16 characters.
  • All passwords must contain at least 1 uppercase letter (A-Z), 1 lowercase letter (a-z), 1 digit (0-9), and 1 of the following symbols: @$!%*#&.
  • Enclose the password in double quotes "password" when entering a password.

Using the Service CLI

To view the components for which you can change passwords, use the changepassword ? or the changeilompassword ? command.

PCA-ADMIN> changepassword ?
ComputeNode
LeafSwitch
ManagementNode
ManagementSwitch
SpineSwitch
ZFSAppliance
PCA-ADMIN> changeilomPassword ?
ComputeNode
ManagementNode

To change the password for a hardware component, use the changepassword command.

Syntax (entered on a single line):

changepassword 
ComputeNode|LeafSwitch|ManagementNode|ManagementSwitch|SpineSwitch|ZFSAppliance
id=<component_id> OR name=<component_name>
password="<new_password>" confirmPassword="<repeat_new_password>"

Example:

PCA-ADMIN> changePassword id=21ad5b60-d30d-4a95-b39f-5bf152005f0f
password=************* confirmPassword=*************

Status: Success
Time: 2022-08-16 17:13:22,674 UTC
JobId: fe772781-d0af-47cc-af87-2059f8e70b63

To change the ILOM password for a compute node or management node, use the changeilompassword command.

Syntax (entered on a single line):

changeilompassword ComputeNode|ManagementNode 
id=<component_id> OR name=<component_name>
password="<new_password>" confirmPassword="<repeat_new_password>"

Example:

PCA-ADMIN> changeilomPassword
id=21ad5b60-d30d-4a95-b39f-5bf152005f0f password="*************" confirmPassword="*************"

Status: Success
Time: 2022-08-16 17:13:22,674 UTC
JobId: fe772781-d0af-47cc-af87-2059f8e70b63