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