Hello, dear!
In this article, I will introduce to you the way to reset IVS password.
Note:
The reset command varies with the model/version. This case is for reference only. If you have any questions, contact Huawei technical support.
Issue Description
The customer has VCN540 V100R003C10SPC238, and he forgot the IVS login password and need to reset it.
Alarm Information
Incorrect username or password
Handling Process
We sent to customer to run command on root user
su postgres -c "/home/postgres/bin/psql -p 6000 -d smu -c \"update tbl_smu_user_info set login_password='e687fed485a4b510722695f7d38d6b524532af5196bd70363019a52bfc0f8af3',first_login='0', salt='' where login_name='Admin';\""
The result was
UPDATE=1
We asked the customer to use admin/Change_Me to login, but the customer failed to login with the same error "Incorrect username or password".
We tried to login using Admin/Change_Me , admin/super123 and Admin/super123 but also the same error.
We asked the customer to run command on root user
su - postgres -c "/home/postgres/bin/psql -p 6000-d smu -c \"update tbl_smu_user_info set status='1', first_login='1',max_sess_cnt=20,login_password='984907c6155ee149ca5978ef9e97aac2d33b5ad34429caa681aca18ccc692e34',register_date='20171108190530', PWD_MODIFY_DATE='20180130104724', salt='eIKvqtdntwaWhZ27'where login_name='admin'\""
The result was
UPDATE=1
After that we asked the customer to try to login using admin/Change_Me , but the same error.
Then we asked the customer to try to login using admin/super123, then the issue has been solved and became able to login IVS tool.
Solution
Run command on root user
su - postgres -c "/home/postgres/bin/psql -p 6000-d smu -c \"update tbl_smu_user_info set status='1', first_login='1',max_sess_cnt=20,login_password='984907c6155ee149ca5978ef9e97aac2d33b5ad34429caa681aca18ccc692e34',register_date='20171108190530', PWD_MODIFY_DATE='20180130104724', salt='eIKvqtdntwaWhZ27'where login_name='admin'\""
After reset, the default user and password is admin/super123.
Hope it can help you.