|
Chris PeBenito |
31b7c0 |
################################################
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Role-based access control (RBAC) configuration.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
# The RBAC configuration was originally centralized in this
|
|
Chris PeBenito |
31b7c0 |
# file, but has been decomposed into individual role declarations,
|
|
Chris PeBenito |
31b7c0 |
# role allow rules, and role transition rules throughout the TE
|
|
Chris PeBenito |
31b7c0 |
# configuration to support easy removal or adding of domains without
|
|
Chris PeBenito |
31b7c0 |
# modifying a centralized file each time. This also allowed the macros
|
|
Chris PeBenito |
31b7c0 |
# to properly instantiate role declarations and rules for domains.
|
|
Chris PeBenito |
31b7c0 |
# Hence, this file is largely unused, except for miscellaneous
|
|
Chris PeBenito |
31b7c0 |
# role allow rules.
|
|
Chris PeBenito |
31b7c0 |
|
|
Chris PeBenito |
31b7c0 |
########################################
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Role allow rules.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# A role allow rule specifies the allowable
|
|
Chris PeBenito |
31b7c0 |
# transitions between roles on an execve.
|
|
Chris PeBenito |
31b7c0 |
# If no rule is specified, then the change in
|
|
Chris PeBenito |
31b7c0 |
# roles will not be permitted. Additional
|
|
Chris PeBenito |
31b7c0 |
# controls over role transitions based on the
|
|
Chris PeBenito |
31b7c0 |
# type of the process may be specified through
|
|
Chris PeBenito |
31b7c0 |
# the constraints file.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# The syntax of a role allow rule is:
|
|
Chris PeBenito |
31b7c0 |
# allow current_role new_role ;
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
# Allow the admin role to transition to the system
|
|
Chris PeBenito |
31b7c0 |
# role for run_init.
|
|
Chris PeBenito |
31b7c0 |
#
|
|
Chris PeBenito |
31b7c0 |
allow sysadm_r system_r;
|