Securing Ranger after deployment

Secure Ranger in a new Cloudera Unified Data Fabric deployment by setting the Ranger administrators and changing the default admin password before you grant access to your users.

  • You can sign in to the Ranger Admin web UI as an administrator. For more information, see Accessing the Ranger Admin web UI.
  • You can edit the engine configuration of the Cloudera Unified Data Fabric deployment in the Anywhere Cloud Console.

A new deployment starts with settings that are convenient for testing but too open for production. Complete these steps before you grant access to your users.

  1. In the engine configuration of the Cloudera Unified Data Fabric deployment, set Access Control Administrators to the comma-separated list of users who administer Ranger.

    If you set MCP acting-user fallback (superuser), include that user.

    You can also make a user a Ranger administrator after deployment by assigning the authz-role-admin application role in Admin Center > Security > Users and Groups of the Anywhere Cloud Console. The user must sign out and sign in again for the role to take effect. For more information, see Ranger users, groups, and administrators.

  2. Change the password of the internal admin user.

    The internal admin user is created with a default password. Perform the following steps in the Ranger Admin web UI:

    1. Click Settings > Users, and then click admin in the User Name column.
    2. On the User Detail page, click the Change Password tab.
    3. Enter the new password in New Password and Password Confirm.
    4. Click Save.

  3. Grant your users the access that they need.
    The default policies grant access only to the administrator and the Cloudera Unified Data Fabric services, so your users cannot search the catalog until you grant them access. If you add users to a default policy, add them in a separate policy item with Delegate Admin cleared. Do not add them to the existing item, which allows delegated administration. For more information, see Granting users permission to search the catalog and Creating a metadata access policy.

Only the users that you designated administer Ranger, the internal admin user no longer uses the default password, and users get catalog access only through the policies that you grant.