KBEA-00050 - Requiring users to log in to the Cluster Manager

Article ID:360033190691
1 minute readKnowledge base

Summary

You want to prevent users from logging in to the Cluster Manager by just pressing return twice.

Solution

To require users to log in, change the password for the default user. There is no way to do this through the user interface, which is intentional so not everyone logging in as that user can do this. Follow these steps:

  1. Run the mysql app from a command shell.

  2. Type: connect ecloud;

  3. Type: update ec_user set password = PASSWORD("mynewpassword") where name = "default";

Applies to

  • Product versions: 4.x and later

  • OS versions: All

This article is no longer valid because

  1. The SQL sentence update the password in the database table, however after the change, the user cannot login (It’s like using a wrong password). This may be caused by implementation change in our ElectricAccelerator. In other words, cluster manager uses a different way (instead of PASSWORD, MD5 or ENCRYPT) to generate an string from password and save it in the table.

  2. The password can be changed by admin in cluster manager web ui. However, there are at least two drawbacks:

    1. The cluster manager web ui claims there’s no default user. This seems to be wrong.

    2. There’s no way to change back so the default user does not have a password.