Got it

How to change the password of the BSC6900

Latest reply: Jun 29, 2019 07:26:51 963 1 2 0 0

This section describes how to change the passwords for users adminGaussDB, and db_user by using the omutool, how to change the password for user FtpUsr by using the MML command, and how to log in to the U2020 to change its FTP user's password.

Context

·        admin is the administrator account for logging in to the LMT.

·        GaussDB is the default internal account of the database and cannot be deleted. GaussDB is used for database initialization.

·        db_user is the account for accessing the OMU database.

·        FtpUsr is the account for uploading and downloading files to and from the OMU.

·        An FTP user of the U2020 is used for the U2020 to access BSC6900 for file loading and downloading.

·        The following procedure assumes that version_a is the OMU active workspace. Run the LST OMUAREA command to query the OMU active workspace.

·        If active and standby OMUs are configured on the BSC6900, you must change the passwords of users admindb_user, and GaussDB on both the active and standby OMUs.

 NOTE:

§  Single-OMU mode: Stop the omud before the change and restart the omud after the change.

§  Dual-OMU mode: Stop the standby omud and then the active omud before the change. Restart the active omud and then the standby omud after the change.

§  You are advised to change the password upon your first login and change the password every subsequent three months. The initial password of user db_user is MBSC_db_2008. The initial password of user GaussDB is a random value with 8 to 32 bits automatically generated during database initialization.

§  The passwords of db_user and GaussDB must contain uppercase letters, lowercase letters, digits, and special characters (-?[]_+{}). The password length must range from 8 to 32 characters.

§  The passwords of admin must contain uppercase letters, lowercase letters, digits, and special characters (~!@#$^*()_+-{}|[]:./). The password length must range from 8 to 32 characters.


Keep the password safe. You need to reinstall the OMU operating system if the password is lost.

Procedure

·        Changing the password of user admin

1.     Log in to the target OMU by referring to Logging In to the OMU.

2.     Enter /etc/rc.d/omud stop to stop the omud process.

3.     Enter cd /mbsc/bam/version_a/bin/bam to navigate to the directory that contains omutool.

4.     Enter ./omutool adminpwd to change the password of user admin.

5.     Enter /etc/rc.d/omud start to start the omud.

·        Changing the password of user GaussDB

1.     Log in to the target OMU by referring to Logging In to the OMU.

2.     Enter /etc/rc.d/omud stop to stop the omud process.

3.     Enter cd /mbsc/bam/version_a/bin/bam to navigate to the directory that contains omutool.

4.     Enter ./omutool dbrootpwd to change the password of user GaussDB.

5.     Enter /etc/rc.d/omud start to start the omud.

·        Changing the password of user db_user

1.     Log in to the target OMU.

2.     Enter /etc/rc.d/omud stop to stop the omud process.

3.     Enter cd /mbsc/bam/version_a/bin/bam to navigate to the directory that contains omutool.

4.     Run the ./omutool dbpwd command to change the password of user db_user.

5.     Enter /etc/rc.d/omud start to start the omud.

·        Changing the password of user FtpUsr

1.     Log in to the LMT by referring to section "File Manager" in BSC6900 GU LMT User Guide.

2.     Run the MML command MOD FTPPWD to change the password of user FtpUsr.

·        Changing the password of the U2020's FTP user

1.     Log in to the U2020.

2.     Change the password of an FTP user of the U2020. For details, see Setting an NE as a Transfer Server in the U2020 version documentation.

Example

The following shows an example for changing the password of user admin:

Dopra_136 /mbsc/bam/version_a/bin/bam # ./omutool adminpwd

User right verification is passed.

Enter a password or press Ctrl+C to quit:

Re-enter password or press Ctrl+C to quit:

Successfully set the admin user's password!

The following shows an example for changing the password of user GaussDB:

Dopra_136 /mbsc/bam/version_a/bin/bam # ./omutool dbrootpwd

User right verification is passed.

Enter a password or press Ctrl+C to quit:

Re-enter password or press Ctrl+C to quit:

Successfully set the super user's password of the database!

The following shows an example for changing the password of user db_user:

Dopra_136 /mbsc/bam/version_a/bin/bam # ./omutool dbpwd

User right verification is passed.

Enter a password or press Ctrl+C to quit:

Re-enter password or press Ctrl+C to quit:

Successfully set the db_user's password of the database!

 


good share ,thanks
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.