1. Use the admin account to log in to the device using SSH (the default password is admin/Change_Me).
2. Switch to user root. Su – root (default password: root/Change_Me)
3. Run the following command:
The CU client is restored to Change_Me.
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';\ ""
If the following information is displayed, the password is successfully reset:
UPDATE=1
OMU Portal. After the restoration, the password is super123.
STIME=`date +%s`;
su -c "psql -d omu -c\" UPDATE TBL_OMU_USER_INFO SET LOCK_STATUS=0, PASSWD= '33867eea994c22edb1e157f3f0f7fbd4ce30324c315320b490091f89b074cb10', LOCK_TIME=0, FIRST_***=0, PASSWD_WRONG_TIME=0, PASSWD_WRONG_COUNT=0, SALT= 'HWGtNEAzVjXaXjkg', LAST_MODIFY_TIME=$ {STIME} where USER_NAME= 'Admin';\ "" -postgres;
If the following information is displayed, the password is successfully reset:
UPDATE=1