Updated on 2022-12-02 GMT+08:00

Creating a User

Scenario

FusionInsight Manager supports a maximum of 50,000 users (including built-in users). By default, only user admin has the highest operation permissions of FusionInsight Manager. You need to create users on FusionInsight Manager and assign operation permissions to the users based on service requirements.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose System > Permission > User.
  3. On the User page, click Create.
  4. Set Username. The username can contain digits, letters, underscores (_), hyphens (-), and spaces. It is case-insensitive and cannot be the same as any existing username in the system or OS.
  5. Set User Type to Human-Machine or Machine-Machine.

    • Human-Machine user: used for FusionInsight Manager O&M and component client operations. If you select this option, you also need to select the password policy and set Password and Confirm Password.
    • Machine-Machine user: used for component application development. If you select this option, the password is randomly generated.

  6. In the User Group area, click Add to add one or more user groups to the list.

    • If the selected user group has been bound to a role or a permission policy has been configured in Ranger, the user can obtain the corresponding permissions.
    • After FusionInsight Manager is installed, some user groups generated by default have special permissions. Select desired user groups based on the descriptions on the UI.
    • If existing user groups cannot meet your requirements, click Create User Group to create a user group. For details, see Creating a User Group.

  7. Select a group from the Primary Group drop-down list to create directories and files.

    The drop-down list contains all groups selected in User Group.

    A user can belong to multiple groups (including the primary group and secondary groups). The primary group is set to facilitate maintenance and comply with the permission mechanism of the Hadoop community. The primary group has the same permission control functionality as other groups.

  8. In the Role area, click Add to bind roles to the user.

    • Adding a role when you create a user can specify the user permissions.
    • If the permissions granted to the user from the user group cannot meet service requirements, you can bind other created roles to the user. You can also click Create Role to create a role first. For details, see Creating a Role.

      It takes 3 minutes to make role permission assignment to the user take effect. If the permissions obtained from the user group are enough, you do not need to add a role.

    • After Ranger authentication is enabled for a component, you need to configure Ranger policies to assign permissions to the user except the permissions of default user group or role.
    • If a user is not added to a user group or assigned a role, the user cannot view information or perform operations after logging in to FusionInsight Manager.

  9. Enter information in Description.
  10. Click OK.

    After a human-machine user is created, you need to change the initial password as prompted after logging in to FusionInsight Manager.