This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata

A cluster-level Access Control List (ACL) determines who has access to a cluster and which actions they are allowed to perform. ACLs on a secure MapR cluster are predicated on a locally managed OS registry.

Icon

Before you create an ACL that applies to a particular group, you must create that group and assign users to it.

For example, the Red Hat Linux commands for creating a group called developers and adding a user named jsmith on a locally managed OS registry are:

Creating Cluster-level ACLs

Once users and groups have been defined, an administrator can create a cluster-level ACL in either of two ways:

  • From the MapR Control System (MCS)
  • From the command line

Creating an ACL From the MCS

Click on Permissions under System Settings in the navigation pane.

In the dialog box, add users or groups and select permission levels from the pull-down menu next to each entry.

Each allowed action has a permission code associated with it. The codes are explained below.

Permission Code

Allowed Action

login

Log in to the MapR Control System, use the API and command-line interface,
read access on cluster and volumes

ss

Start/stop services

cv

Create volumes

a

Administrative access to cluster ACLs. Grants no other permissions.

fc

Full control over the cluster. This enables all cluster-related administrative options with the exception of changing the cluster ACLs.

Creating an ACL From the Command Line

To create an ACL at the command line, use the acl set command. Include spaces between multiple entries, such as a list of usernames and their associated permission levels (or actions). The syntax is:

Icon

The acl set command removes previously set permissions if they are not explicitly called out in the command line.

Other ACL commands include:

  • acl edit - to modify permissions in an ACL (use this command instead of acl set to change some permissions while leaving others intact)
  • acl show - to display permissions in an ACL

Example Cluster-level ACL

To create an ACL for a cluster named my.cluster.com that allows administration of cluster ACLs to user root and control over all other aspects of the cluster to all users in the developers group, enter this command:

Now suppose you want to change the developers group permissions so they can only log in and start or stop services. Use the acl edit command as shown:

Note that only the developers group's permissions change, while the user named root retains control over the cluster's ACL settings.

  • No labels