Chris PeBenito 134191
Chris PeBenito 134191
##################################
Chris PeBenito 134191
#
Chris PeBenito 134191
# Core User configuration.
Chris PeBenito 134191
#
Chris PeBenito 134191
Karl MacMillan 72bdc6
# gen_user(username, role_set, levels)
Chris PeBenito 1b8d67
define(`gen_user',`
Chris PeBenito 8eaa72
user $1 roles { $2 } ifdef(`enable_mls', `level $3 range $4');
Karl MacMillan 72bdc6
')
Karl MacMillan 72bdc6
Chris PeBenito 134191
#
Chris PeBenito 134191
# system_u is the user identity for system processes and objects.
Chris PeBenito 134191
# There should be no corresponding Unix user identity for system,
Chris PeBenito 134191
# and a user process should never be assigned the system user
Chris PeBenito 134191
# identity.
Chris PeBenito 134191
#
Karl MacMillan 72bdc6
gen_user(system_u, system_r, s0, s0 - s9:c0.c127)
Chris PeBenito 2fc84f
Chris PeBenito 2fc84f
#
Chris PeBenito 2fc84f
# user_u is a generic user identity for Linux users who have no
Chris PeBenito 2fc84f
# SELinux user identity defined.  The modified daemons will use
Chris PeBenito 2fc84f
# this user identity in the security context if there is no matching
Chris PeBenito 2fc84f
# SELinux user identity for a Linux user.  If you do not want to
Chris PeBenito 2fc84f
# permit any access to such users, then remove this entry.
Chris PeBenito 2fc84f
#
Karl MacMillan 72bdc6
gen_user(user_u, user_r, s0, s0 - s9:c0.c127)
Chris PeBenito 2fc84f
Chris PeBenito 2fc84f
#
Chris PeBenito 2fc84f
# The following users correspond to Unix identities.
Chris PeBenito 2fc84f
# These identities are typically assigned as the user attribute
Chris PeBenito 2fc84f
# when login starts the user shell.  Users with access to the sysadm_r
Chris PeBenito 2fc84f
# role should use the staff_r role instead of the user_r role when
Chris PeBenito 2fc84f
# not in the sysadm_r.
Chris PeBenito 2fc84f
#
Karl MacMillan 72bdc6
gen_user(root, sysadm_r staff_r, s0, s0 - s9:c0.c127)