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