Step 1 Connect the serial port on the secondary controller of the storage system to the maintenance terminal, and 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 that the OS has just been loaded to the storage system.
Step 3 After the storage system restarts up, perform the primary/secondary switchover, that is, change the controller connected the maintenance terminal to the primary controller.
Step 4 Enter the debug mode and run the passwd command to change the password. passwd admin. Enter the new password 123456.
Step 5 Return to the CLI, and run the chgpasswd command to change the password.?? Note: Change the password of user admin. OceanStor: admin> chgpasswd Old Password: Changing password for admin. New password: Re-enter new password: Password changed Change the password of user viewer. OceanStor: admin> chgpasswd -u viewer Old Password: Changing password for viewer. New password: Re-enter new password: Password changed Switch the primary and secondary controllers. OceanStor: admin> swapsys this operation will affect services. do you want to continue? y or n:y the command has been sent, please wait....