Changing the Password of the OMS Database Administrator
Scenario
It is recommended that the administrator periodically change the password of the OMS database administrator to improve the system O&M security.
Procedure
- Log in to the active management node as user root.
The password of user ommdba cannot be changed on the standby management node. Otherwise, the cluster may not work properly. Change the password on the active management node only.
- Run the following command to switch to another user:
su - omm
- Run the following command to go to the related directory:
cd $OMS_RUN_PATH/tools
- Run the following command to change the password for user ommdba:
mod_db_passwd ommdba
- Enter the old password of user ommdba and enter a new password twice.
The password must meet the following complexity requirements:
- Contains 16 to 32 characters.
- Contains at least three types of the following: uppercase letters, lowercase letters, numbers, and special characters (~`!@#$%^&*()-+_=\|[{}];",<.>/?).
- Cannot be the same as the username or the username spelled backwards.
- Cannot be the same as the last 20 historical passwords.
If the following information is displayed, the password is changed.
Congratulations, update [ommdba] password successfully.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot