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