Skip to main content
Version: 5.0.0

User Management

This chapter introduces what a user is and how a user can be managed.

About Users

To use Kylin, a user must log in to the system using a user name and corresponding password. Every user is unique in a Kylin instance, which is to say, it is not necessary to create the same user for every project in a single instance. By default, Kylin initializes one user, namely ADMIN. The user ADMIN is a built-in system administrator, and the system administrator has all the permissions of the entire system.

Manage Users

After the system administrator logs in to Kylin, click the Admin button in the top toolbar to enter the system management page, and click the User field to enter the User Management page.

Note:

  1. Except for the system administrator, simply creating a user does not give the user access to any project.
  2. Except for the system administrator, other users need to be given access at the project level.

Add a User

On the User Management page, the system administrator can click the +User button to add new users. In the pop-up window, please fill in the user name, password, confirm new password, select whether the user role is a system administrator or a normal user, and click OK.

tips: username is case insensitive, so duplicate names with existing user names are not allowed.

Edit a User Role

On the User Management page, select a user to be edited, click the ... (More Actions) button under the Actions bar on the right. Then click Edit Role.

In the pop-up window, the system administrator can modify user role to administrator or user.

Delete a User

On the User Management page, select a user to be deleted, click the ... (More Actions) button under the Actions bar on the right. Then click Delete. The system administrator can confirm to delete a user in the prompted window. User can not be restored after deleting, and user's access permission on all projects will be removed.

Enable/Disable a User

On the User Management page, select a user, and click the ... (More Actions) button under the Actions bar on the right. Then click Enable / Disable. The system administrator can enable or disable a user, and disabled users cannot login to the system.

Reset Password for ADMIN

On the User Management page, select a user, click Reset Password under the Actions bar on the right.

In the pop-up window, the system administrator can change the password and need to enter the new password twice.

The initial ADMIN account password needs to be modified after the first login. To reset the password, you can execute the following command. After successful execution, the ADMIN account will regenerate a random password and display it on the console. When you log in, you need to change the password:

$KYLIN_HOME/bin/admin-tool.sh admin-password-reset

When the parameter kylin.metadata.random-admin-password.enabled=false, it will not regenerate a random password but the fixed password KYLIN. If the parameter kylin.metadata.random-admin-password.enabled is set from false to true , it will regenerate a random password and display it on the console after all the Kylin nodes restarted.

Reset password for Non-admin

Click username --> Setup in the top right corner of the navigation bar. In the pop-up window, user need to provide the old password and repeat the new password twice to reset password.

Assign a User to a Group

To assign a user to a group, please do the followings:

  1. On the User Management page, select a user to be grouped.
  2. Click Assign to Group under the Actions bar on the right.
  3. Select a group to assign the user to under Candidates, and then click the right arrow >. The group will enter into Selected.
  4. Click OK and the user will be in the selected group.

Modify User Group

To modify user group, please do the following steps:

  1. On the User Management page, select a user to modify the group membership.
  2. Click Assign to Group under the Actions bar on the right.
  3. Select the group to be modified under Selected, and then click the left arrow <. The group will enter into Candidates.
  4. Click OK and the user group membership will be modified.