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