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.
-
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
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.
-
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:
- Click Settings > Users,
and then click admin in the
User Name column.
- On the User Detail page, click the
Change Password tab.
- Enter the new password in New Password and
Password Confirm.
- Click Save.
-
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.