]>
Commit | Line | Data |
---|---|---|
134191be CP |
1 | |
2 | ################################## | |
3 | # | |
4 | # Core User configuration. | |
5 | # | |
6 | ||
9465452e | 7 | # |
712566ee | 8 | # gen_user(username, role_set, mls_defaultlevel, mls_range) |
9465452e | 9 | # |
2fc84fd1 CP |
10 | |
11 | # | |
12 | # user_u is a generic user identity for Linux users who have no | |
13 | # SELinux user identity defined. The modified daemons will use | |
14 | # this user identity in the security context if there is no matching | |
15 | # SELinux user identity for a Linux user. If you do not want to | |
16 | # permit any access to such users, then remove this entry. | |
17 | # | |
c98340cf CP |
18 | ifdef(`targeted_policy',` |
19 | gen_user(user_u, user_r sysadm_r system_r, s0, s0 - s9:c0.c127) | |
20 | ',` | |
72bdc608 | 21 | gen_user(user_u, user_r, s0, s0 - s9:c0.c127) |
c98340cf | 22 | ') |
2fc84fd1 CP |
23 | |
24 | # | |
25 | # The following users correspond to Unix identities. | |
26 | # These identities are typically assigned as the user attribute | |
27 | # when login starts the user shell. Users with access to the sysadm_r | |
28 | # role should use the staff_r role instead of the user_r role when | |
29 | # not in the sysadm_r. | |
30 | # | |
c98340cf | 31 | ifdef(`targeted_policy',` |
e5f80603 | 32 | gen_user(root, user_r sysadm_r system_r, s0, s0 - s9:c0.c127) |
c98340cf | 33 | ',` |
e5f80603 CP |
34 | ifdef(`direct_sysadm_daemon',` |
35 | gen_user(root, sysadm_r staff_r system_r, s0, s0 - s9:c0.c127) | |
5a3895a9 | 36 | ',` |
e5f80603 CP |
37 | gen_user(root, sysadm_r staff_r, s0, s0 - s9:c0.c127) |
38 | ') | |
c98340cf | 39 | ') |