CIQ Glossary

Role-Based Access Control (RBAC)

Role-based access control (RBAC) is a security model that grants permissions to users through roles tied to their job functions rather than to individual identities. Administrators define a set of roles, each carrying a fixed collection of permissions, and assign users to roles instead of granting rights one person at a time. This makes access predictable, auditable, and simple to change as people join, move within, or leave an organization.

What is role-based access control?

Under RBAC, a role is a named bundle of permissions that reflects a responsibility, such as "database administrator," "auditor," or "read-only analyst." A user acquires exactly the permissions attached to the roles they hold. Because access is granted to the role and not the person, onboarding a new employee is a matter of assigning the right roles, and revoking access is as simple as removing them.

RBAC directly supports the principle of least privilege: each role should carry only the permissions its function requires, so users never accumulate rights they do not need. Many implementations add role hierarchies (senior roles inherit the permissions of junior ones) and separation of duties (rules that prevent one user from holding conflicting roles, such as both requesting and approving a payment).

Why RBAC matters

Managing permissions per user does not scale. In an organization with thousands of accounts and hundreds of resources, individually assigned rights drift out of alignment with actual needs, creating security gaps and audit headaches. RBAC centralizes that complexity into a manageable set of roles.

The payoff is threefold. Administration is simpler because access changes happen at the role level. Security improves because least privilege is enforced by design and over-provisioning is easier to spot. Compliance is easier because roles create a clear, reviewable mapping of who can do what, the kind of evidence auditors expect under frameworks such as PCI-DSS, HIPAA, and CMMC.

How RBAC works

  • Roles are defined from job functions and mapped to specific permissions.
  • Permissions describe allowed operations on resources (read, write, execute, administer).
  • Assignments connect users to one or more roles; the user's effective access is the union of those roles' permissions.
  • Reviews periodically re-validate that role definitions and assignments still match reality, catching dormant accounts and privilege creep.

On Linux systems, RBAC concepts appear in tools such as SELinux, sudo policies, and PAM, which constrain what users and services can do beyond traditional file ownership. Enterprise distributions build on these primitives to enforce policy consistently across a fleet.

RBAC vs. other access-control models

Model Access decided by Best fit
RBAC Assigned roles Stable org structures with clear job functions
ABAC (attribute-based) User, resource, and context attributes Dynamic, fine-grained, context-aware policy
DAC (discretionary) Resource owner's discretion Small, trust-based environments
MAC (mandatory) Central policy and security labels High-assurance and classified systems

RBAC sits between the simplicity of discretionary control and the fine granularity of attribute-based control. Many organizations combine models, for example, using RBAC for baseline access and ABAC attributes to add contextual conditions such as time of day or device posture.

RBAC in HPC and enterprise Linux

Clusters and shared infrastructure serve many teams with different clearances and workloads, so access must be partitioned cleanly. RBAC lets operators grant researchers job-submission rights while reserving node configuration and scheduler administration for staff, and it pairs naturally with two-factor authentication and encryption key management as part of a layered security posture. Hardened builds of Rocky Linux apply these controls against recognized security baselines.

Built for scale. Chosen by the world’s best.

2.75M+

Rocky Linux instances

Being used world wide

90%

Of fortune 100 companies

Use CIQ supported technologies

250k

Avg. monthly downloads

Rocky Linux