Got it

VCN510-8P OMU password reset

Created: Feb 24, 2021 10:58:47Latest reply: Aug 29, 2021 12:22:21 1058 21 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi,


  i tried the    su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_***=1 where user_name='Admin';\""     command but it gives an error at first_***=


LINE 1: ...e8df23683c83e1c5c98db502fc9fccf3', salt='', first_***=1 wher...

                                                                                                ^

Can anyone help?



Thanks

Featured Answers

Recommended answer

Y_T_Z
Admin Created Feb 25, 2021 01:28:59

Hello, McSergyu!
Good day to you!
Please use the following command:

su -c "psql -d omu -c \"UPDATE TBL_OMU_USER_INFO SET LOCK_STATUS=0, PASSWD='33867eea994c22edb1e157f3f0f7fbd4ce30324c315320b490091f89b074cb10', LOCK_TIME=0, FIRST_FLG=0,PASSWD_WRONG_TIME=0, PASSWD_WRONG_COUNT=0, SALT='HWGtNEAzVjXaXjkg', LAST_MODIFY_TIME=${STIME} where USER_NAME='Admin';\"" - postgres;

If this command cannot help you, I advise you to creat a ticket.
Resetting the password is risky. You are advised to contact Huawei technical support engineers to reset the password.

View more
  • x
  • convention:

McSergyu
McSergyu Created Feb 25, 2021 10:16:48 (0) (0)
This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards  
McSergyu
McSergyu Created Feb 25, 2021 10:20:15 (0) (0)
Dear Y_T_Z,

This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards  
McSergyu
McSergyu Created Feb 25, 2021 10:56:18 (0) (0)
Dear Y_T_Z


This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards  
All Answers
Hello, we are working on it.
View more
  • x
  • convention:

Y_T_Z
Y_T_Z Admin Created Feb 24, 2021 11:02:58

Hi, dear!
Please try to use the following command.
su - postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_***=1 where user_name='Admin';\"" command but it gives an error at first_***=
View more
  • x
  • convention:

Hi,

Thanks for the quick answer.

Tried whit the hyphen (su - postgres) but gives the same error.

Regards
View more
  • x
  • convention:

Hi,

Thanks for the quick answer.

Tried whit the hyphen (su - postgres) but gives the same error.

Regards
View more
  • x
  • convention:

Y_T_Z
Y_T_Z Admin Created Feb 24, 2021 11:39:18

Posted by McSergyu at 2021-02-24 11:18 Hi,Thanks for the quick answer.Tried whit the hyphen (su - postgres) but gives the same error.Regard ...
Please clarify the product version.
View more
  • x
  • convention:

McSergyu
McSergyu Created Feb 24, 2021 14:07:30 (0) (0)
Can you please tell me if i can see the product version via ssh  
Y_T_Z
Y_T_Z Reply McSergyu  Created Feb 24, 2021 14:18:02 (0) (0)
https://forum.huawei.com/enterprise/huawei/m/ViewThread.html?tid=483453&lang=en&container=browser&navBar=0&isOpenAttach=1  
McSergyu
McSergyu Reply Y_T_Z  Created Feb 24, 2021 14:27:18 (0) (0)
Thank you for your help.

Here's the info:
<VersionInfo>V100R002C30SPC200B029</VersionInfo>
<PreVersionInfo>V100R002C30</PreVersionInfo>
<PreVersionInfo>V100R002C30SPC100</PreVersionInfo>
<PreVersionInfo>V100R002C30SPC101</PreVersionInfo>
<Version>V100R002C30SPC200</Version>
<VersionUpgradeStart>V100R002C30SPC200</VersionUpgradeStart>  
Y_T_Z
Y_T_Z Admin Created Feb 25, 2021 01:28:59

Hello, McSergyu!
Good day to you!
Please use the following command:

su -c "psql -d omu -c \"UPDATE TBL_OMU_USER_INFO SET LOCK_STATUS=0, PASSWD='33867eea994c22edb1e157f3f0f7fbd4ce30324c315320b490091f89b074cb10', LOCK_TIME=0, FIRST_FLG=0,PASSWD_WRONG_TIME=0, PASSWD_WRONG_COUNT=0, SALT='HWGtNEAzVjXaXjkg', LAST_MODIFY_TIME=${STIME} where USER_NAME='Admin';\"" - postgres;

If this command cannot help you, I advise you to creat a ticket.
Resetting the password is risky. You are advised to contact Huawei technical support engineers to reset the password.

View more
  • x
  • convention:

McSergyu
McSergyu Created Feb 25, 2021 10:16:48 (0) (0)
This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards  
McSergyu
McSergyu Created Feb 25, 2021 10:20:15 (0) (0)
Dear Y_T_Z,

This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards  
McSergyu
McSergyu Created Feb 25, 2021 10:56:18 (0) (0)
Dear Y_T_Z


This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards  
please feedback with the result of command : df -h
View more
  • x
  • convention:

Posted by Y_T_Z at 2021-02-25 01:28 Hello, McSergyu!Good day to you!Please use the following command:su -c "psql -d omu -c \"UPDATE TBL_ ...
Dear Y_T_Z,

This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards
View more
  • x
  • convention:

Posted by Y_T_Z at 2021-02-25 01:28 Hello, McSergyu!Good day to you!Please use the following command:su -c "psql -d omu -c \"UPDATE TBL_ ...
Dear Y_T_Z,
This command also did not work because it gave an error in "LAST_MODIFY_TIME" but I managed to solve it with the command:
su postgres -c "/home/postgres/bin/psql -p 6000 -d omu -c \"update tbl_omu_user_info set passwd='f0923a2988ada0d95570a304ef15671ce8df23683c83e1c5c98db502fc9fccf3', salt='', first_flg=1 where user_name='Admin';\""

Thanks for the help that was very helpful.

Best regards
View more
  • x
  • convention:

Y_T_Z
Y_T_Z Created Mar 1, 2021 01:46:40 (0) (0)
Hi, McSergyu!
I am sorry, this command does not take effect.
The possible causes are as follows:
Copy Error
Incorrect version provided
An error occurred during the execution.
The command itself is faulty.
Resetting the password is complex and risky. You are advised to create a trouble ticket.
Thank you.  
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.