0d3ecd
##################################
0d3ecd
#
0d3ecd
# Core User configuration.
0d3ecd
#
0d3ecd
0d3ecd
#
0d3ecd
# gen_user(username, prefix, role_set, mls_defaultlevel, mls_range, [mcs_catetories])
0d3ecd
#
0d3ecd
# Note: Identities without a prefix wil not be listed
0d3ecd
# in the users_extra file used by genhomedircon.
0d3ecd
0d3ecd
#
0d3ecd
# system_u is the user identity for system processes and objects.
0d3ecd
# There should be no corresponding Unix user identity for system,
0d3ecd
# and a user process should never be assigned the system user
0d3ecd
# identity.
0d3ecd
#
0d3ecd
gen_user(system_u,, system_r, s0, s0 - mls_systemhigh, mcs_allcats)
0d3ecd
0d3ecd
#
0d3ecd
# user_u is a generic user identity for Linux users who have no
0d3ecd
# SELinux user identity defined.  The modified daemons will use
0d3ecd
# this user identity in the security context if there is no matching
0d3ecd
# SELinux user identity for a Linux user.  If you do not want to
0d3ecd
# permit any access to such users, then remove this entry.
0d3ecd
#
0d3ecd
gen_user(user_u, user, user_r, s0, s0)
0d3ecd
gen_user(staff_u, user, staff_r system_r sysadm_r secadm_r auditadm_r, s0, s0 - mls_systemhigh, mcs_allcats)
0d3ecd
gen_user(sysadm_u, user, sysadm_r, s0, s0 - mls_systemhigh, mcs_allcats)
0d3ecd
0d3ecd
#
0d3ecd
# The following users correspond to Unix identities.
0d3ecd
# These identities are typically assigned as the user attribute
0d3ecd
# when login starts the user shell.  Users with access to the sysadm_r
0d3ecd
# role should use the staff_r role instead of the user_r role when
0d3ecd
# not in the sysadm_r.
0d3ecd
#
0d3ecd
gen_user(root, user, sysadm_r staff_r secadm_r auditadm_r system_r, s0, s0 - mls_systemhigh, mcs_allcats)