|
Chris PeBenito |
134191 |
|
|
Chris PeBenito |
134191 |
##################################
|
|
Chris PeBenito |
134191 |
#
|
|
Chris PeBenito |
134191 |
# Core User configuration.
|
|
Chris PeBenito |
134191 |
#
|
|
Chris PeBenito |
134191 |
|
|
Chris PeBenito |
946545 |
#
|
|
Chris PeBenito |
cff75c |
# gen_user(username, role_set, mls_defaultlevel, mls_range, [mcs_catetories])
|
|
Chris PeBenito |
946545 |
#
|
|
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 |
#
|
|
Chris PeBenito |
c98340 |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
37fe0e |
gen_user(user_u, user_r sysadm_r system_r, s0, s0 - s15:c0.c255, c0.c255)
|
|
Chris PeBenito |
c98340 |
',`
|
|
Chris PeBenito |
37fe0e |
gen_user(user_u, user_r, s0, s0 - s15:c0.c255, c0.c255)
|
|
Chris PeBenito |
c98340 |
')
|
|
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 |
#
|
|
Chris PeBenito |
c98340 |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
37fe0e |
gen_user(root, user_r sysadm_r system_r, s0, s0 - s15:c0.c255, c0.c255)
|
|
Chris PeBenito |
c98340 |
',`
|
|
Chris PeBenito |
e5f806 |
ifdef(`direct_sysadm_daemon',`
|
|
Chris PeBenito |
37fe0e |
gen_user(root, sysadm_r staff_r system_r, s0, s0 - s15:c0.c255, c0.c255)
|
|
Chris PeBenito |
5a3895 |
',`
|
|
Chris PeBenito |
37fe0e |
gen_user(root, sysadm_r staff_r, s0, s0 - s15:c0.c255, c0.c255)
|
|
Chris PeBenito |
e5f806 |
')
|
|
Chris PeBenito |
c98340 |
')
|