]> git.ipfire.org Git - people/stevee/selinux-policy.git/blob - policy/users
Makefile: Fix check for current git tag.
[people/stevee/selinux-policy.git] / policy / users
1 ##################################
2 #
3 # Core User configuration.
4 #
5
6 #
7 # gen_user(username, prefix, role_set, mls_defaultlevel, mls_range, [mcs_catetories])
8 #
9 # Note: Identities without a prefix will not be listed
10 # in the users_extra file used by genhomedircon.
11
12 #
13 # system_u is the user identity for system processes and objects.
14 # There should be no corresponding Unix user identity for system,
15 # and a user process should never be assigned the system user
16 # identity.
17 #
18 gen_user(system_u,, system_r unconfined_r, s0, s0 - mls_systemhigh, mcs_allcats)
19
20 #
21 # user_u is a generic user identity for Linux users who have no
22 # SELinux user identity defined. The modified daemons will use
23 # this user identity in the security context if there is no matching
24 # SELinux user identity for a Linux user. If you do not want to
25 # permit any access to such users, then remove this entry.
26 #
27 gen_user(user_u, user, user_r, s0, s0 - mls_systemhigh, mcs_allcats)
28 gen_user(staff_u, user, staff_r system_r sysadm_r ifdef(`enable_mls',`secadm_r auditadm_r'), s0, s0 - mls_systemhigh, mcs_allcats)
29 gen_user(sysadm_u, user, sysadm_r, s0, s0 - mls_systemhigh, mcs_allcats)
30
31 #
32 # The following users correspond to Unix identities.
33 # These identities are typically assigned as the user attribute
34 # when login starts the user shell. Users with access to the sysadm_r
35 # role should use the staff_r role instead of the user_r role when
36 # not in the sysadm_r.
37 #
38 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)