Viewing the Default User
When MOTService runs the gs_preinstall command to prepare the installation user and environment, the user specified by the -U parameter is the default user and the system administrator. The following describes how to view the default user.
Procedure
- Log in to FusionInsight Manager, choose Cluster > Services > MOTService, click Instance, and view and record the service IP address of the MOTServer(Active) instance.
- Log in to any MOTService node queried in 1 as user omm.
- Run the following command to switch to the MOTService installation directory:
cd $MOTSERVER_HOME
- Run the following command to configure environment variables:
source .motservice_profile
- Run the following command to log in to MOTService and enter the password of the MOTService database user omm:
gsql -d postgres -p 20105
Contact the system administrator to obtain the password of user omm for the MOTService database.
- Run the following command to view the default user:
SELECT rolname FROM pg_authid where oid=10;
The following command output shows that the default user is omm.
openGauss=# SELECT rolname FROM pg_authid where oid=10; rolname --------- omm (1 row)
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