Got it

How to change the GaussDB password

Created: Mar 15, 2022 08:05:17Latest reply: Mar 15, 2022 08:09:34 227 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, Huawei engineers!

I have one Huawei FusionAccess solution, and I want to change the GaussDB password.

Do you know how to change the GaussDB password?

Any solutions will be appreciated!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Mar 15, 2022 08:09:34

Hello, friend!

Have a nice day!

1. Log in to the server where the GaussDB resides as the gandalf user.

2. Run the su - gaussdba command and enter the password of user gaussdba to switch to user gaussdba.

3. Run the following command to enter the page for changing the password of the gaussdba user:

passwd

4. Enter the appropriate parameters in sequence as prompted, to change the password of the gaussdba user.

‏The following information is displayed in sequence:

change the password of the gaussdba

5. Log out of each GaussDB node, and use the new password to relog in to each GaussDB node using VNC as the gaussdba user.

If the GaussDB node is successfully logged in, the password of the gaussdba account is changed successfully.

Hope this helps!


View more
  • x
  • convention:

All Answers
olive.zhao
olive.zhao Admin Created Mar 15, 2022 08:09:34

Hello, friend!

Have a nice day!

1. Log in to the server where the GaussDB resides as the gandalf user.

2. Run the su - gaussdba command and enter the password of user gaussdba to switch to user gaussdba.

3. Run the following command to enter the page for changing the password of the gaussdba user:

passwd

4. Enter the appropriate parameters in sequence as prompted, to change the password of the gaussdba user.

‏The following information is displayed in sequence:

change the password of the gaussdba

5. Log out of each GaussDB node, and use the new password to relog in to each GaussDB node using VNC as the gaussdba user.

If the GaussDB node is successfully logged in, the password of the gaussdba account is changed successfully.

Hope this helps!


View more
  • x
  • convention:

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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.