Help Center > > User Guide> Managing Active Clusters> MRS Multi-User Permission Management> Creating a User

Creating a User

Updated at: Mar 17, 2020 GMT+08:00

Scenario

This section describes how to create users on MRS Manager based on site requirements and specify their operation permissions to meet service requirements.

Up to 1000 users can be created on MRS Manager.

If a new password policy needs to be used for a new user's password, follow instructions in Modifying a Password Policy to modify the password policy first and then perform the following operations to create a user.

Prerequisites

  • Administrators have learned service requirements and created roles and role groups required by service scenarios.
  • You have obtained a cluster with Kerberos authentication enabled or a normal cluster with the EIP function enabled.

Procedure

  1. On MRS Manager, click System.
  2. In the Permission area, click Manage User.
  3. Above the user list, click Create User.
  4. Configure parameters as prompted and enter a username in Username.

    • If a username exists, you cannot create another username that only differs from the existing username in case. For example, if User1 has been created, you cannot create user1.
    • When you use the user you created, enter the correct username, which is case-sensitive.
    • Username is mandatory and contains 3 to 20 digits, letters, and underscores (_).
    • root, omm, and ommdba are reserved system users. Select another username.

  5. Set User Type to either Human-machine or Machine-machine.

    • Human-machine users: used for O&M on MRS Manager and operations on component clients. If you select this user type, you need to enter a password and confirm the password in Password and Confirm Password accordingly.
    • Machine-machine users: used for MRS application development. If you select this user type, you do not need to enter a password, because the password is randomly generated.

  6. In User Group, click Select and Join User Group to select user groups and add users to them.

    • If roles have been added to user groups, the users can be granted with permissions of the roles.
    • If you want to grant new users with Hive permissions, add the users to the Hive group.
    • If you want to manage tenant resources, assign the Manager_tenant role and the role corresponding to the tenant to the user group.

  7. In Primary Group, select a group as the primary group for users to create directories and files. The drop-down list contains all groups selected in User Group.
  8. In Assign Rights to Role, click Select and Add Role to add roles for users based on onsite service requirements.

    • When you create a user, if permissions of a user group that is granted to the user cannot meet service requirements, you can assign other created roles to the user. It takes 3 minutes to make role permissions granted to the new user take effect.
    • Adding a role when you create a user can specify the user rights.
    • A new user can access web UIs of HDFS, HBase, Yarn, Spark, and Hue even when roles are not assigned to the user.

  9. In Description, provide description based on onsite service requirements.

    Description is optional.

  10. Click OK. The user is created.

    If a new user is used in the MRS cluster for the first time, for example, used for logging in to MRS Manager or using the cluster client, the password must be changed. For details, see Changing the Password of an Operation User.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel