Step 1 Connect the secondary controller of the storage system to the maintenance terminal by using a serial port cable. Restart the secondary controller.
Step 2 Log in to the storage system immediately after the login screen is displayed. The user name is admin and password is 123456.
Note: The OS has just been loaded to the storage system at this moment.
Step 3 After the storage system restarts up, perform the primary/secondary switchover, that is, change the controller connected by the serial port cable to the primary controller.
OceanStor: admin> swapsys
this operation will affect services.
do you want to continue? y or n:y
the command has been sent, please wait....
Step 4 Enter the debug mode and run the passwd admin command and enter a new password (such as 123456) to change the password.
Step 5 Return to the CLI, and run the chgpasswd command to change a new password.
OceanStor: admin> chgpasswd
Changing password for admin.
Re-enter new password: