1staff_sudo_selinux(8) SELinux Policy staff_sudo staff_sudo_selinux(8)
2
3
4
6 staff_sudo_selinux - Security Enhanced Linux Policy for the staff_sudo
7 processes
8
10 Security-Enhanced Linux secures the staff_sudo processes via flexible
11 mandatory access control.
12
13 The staff_sudo processes execute with the staff_sudo_t SELinux type.
14 You can check if you have these processes running by executing the ps
15 command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep staff_sudo_t
20
21
22
24 The staff_sudo_t SELinux type can be entered via the sudo_exec_t file
25 type.
26
27 The default entrypoint paths for the staff_sudo_t domain are the fol‐
28 lowing:
29
30 /usr/bin/sudo(edit)?
31
33 SELinux defines process types (domains) for each process running on the
34 system
35
36 You can see the context of a process using the -Z option to ps
37
38 Policy governs the access confined processes have to files. SELinux
39 staff_sudo policy is very flexible allowing users to setup their
40 staff_sudo processes in as secure a method as possible.
41
42 The following process types are defined for staff_sudo:
43
44 staff_sudo_t
45
46 Note: semanage permissive -a staff_sudo_t can be used to make the
47 process type staff_sudo_t permissive. SELinux does not deny access to
48 permissive process types, but the AVC (SELinux denials) messages are
49 still generated.
50
51
53 SELinux policy is customizable based on least access required.
54 staff_sudo policy is extremely flexible and has several booleans that
55 allow you to manipulate the policy and run staff_sudo with the tightest
56 access possible.
57
58
59
60 If you want to allow all domains to execute in fips_mode, you must turn
61 on the fips_mode boolean. Enabled by default.
62
63 setsebool -P fips_mode 1
64
65
66
67 If you want to allow confined applications to run with kerberos, you
68 must turn on the kerberos_enabled boolean. Enabled by default.
69
70 setsebool -P kerberos_enabled 1
71
72
73
74 If you want to allow system to run with NIS, you must turn on the
75 nis_enabled boolean. Disabled by default.
76
77 setsebool -P nis_enabled 1
78
79
80
82 The SELinux process type staff_sudo_t can manage files labeled with the
83 following file types. The paths listed are the default paths for these
84 file types. Note the processes UID still need to have DAC permissions.
85
86 cifs_t
87
88
89 ecryptfs_t
90
91 /home/[^/]+/.Private(/.*)?
92 /home/[^/]+/.ecryptfs(/.*)?
93
94 faillog_t
95
96 /var/log/btmp.*
97 /var/log/faillog.*
98 /var/log/tallylog.*
99 /var/run/faillock(/.*)?
100
101 fusefs_t
102
103 /var/run/user/[0-9]+/gvfs
104
105 initrc_var_run_t
106
107 /var/run/utmp
108 /var/run/random-seed
109 /var/run/runlevel.dir
110 /var/run/setmixer_flag
111
112 krb5_host_rcache_t
113
114 /var/tmp/krb5_0.rcache2
115 /var/cache/krb5rcache(/.*)?
116 /var/tmp/nfs_0
117 /var/tmp/DNS_25
118 /var/tmp/host_0
119 /var/tmp/imap_0
120 /var/tmp/HTTP_23
121 /var/tmp/HTTP_48
122 /var/tmp/ldap_55
123 /var/tmp/ldap_487
124 /var/tmp/ldapmap1_0
125
126 lastlog_t
127
128 /var/log/lastlog.*
129
130 nfs_t
131
132
133 pam_var_run_t
134
135 /var/(db|adm)/sudo(/.*)?
136 /var/lib/sudo(/.*)?
137 /var/run/sudo(/.*)?
138 /var/run/pam_ssh(/.*)?
139 /var/run/sepermit(/.*)?
140 /var/run/pam_mount(/.*)?
141 /var/run/pam_timestamp(/.*)?
142
143 security_t
144
145 /selinux
146
147 staff_sudo_tmp_t
148
149
150 sudo_db_t
151
152 /var/db/sudo(/.*)?
153
154 sudo_log_t
155
156 /var/log/sudo-io(/.*)?
157 /var/log/sudo.log
158
159
161 semanage fcontext can also be used to manipulate default file context
162 mappings.
163
164 semanage permissive can also be used to manipulate whether or not a
165 process type is permissive.
166
167 semanage module can also be used to enable/disable/install/remove pol‐
168 icy modules.
169
170 semanage boolean can also be used to manipulate the booleans
171
172
173 system-config-selinux is a GUI tool available to customize SELinux pol‐
174 icy settings.
175
176
178 This manual page was auto-generated using sepolicy manpage .
179
180
182 selinux(8), staff_sudo(8), semanage(8), restorecon(8), chcon(1), sepol‐
183 icy(8), setsebool(8)
184
185
186
187staff_sudo 23-12-15 staff_sudo_selinux(8)