How to Retrieve the Lost Password of the S2300 Administrator (Admin)?

Publication Date:  2012-07-22 Views:  790 Downloads:  0
Issue Description
S2300 version: V1R1
A customer modified the password of the S2300 administrator but then forgets it
Alarm Information
None
Handling Process
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
Old Password:
Changing password for admin.
New password:
Re-enter new password:
Password changed 
Root Cause
The admin account or password is lost.
Suggestions
It is recommended to back up the super administrator account and password of the storage system with care and create multiple accounts to daily manage the storage system. 

END