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