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. Disabled 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/[^/]*/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 lastlog_t
113
114 /var/log/lastlog.*
115
116 nfs_t
117
118
119 pam_var_run_t
120
121 /var/(db|adm)/sudo(/.*)?
122 /var/lib/sudo(/.*)?
123 /var/run/sudo(/.*)?
124 /var/run/motd.d(/.*)?
125 /var/run/pam_ssh(/.*)?
126 /var/run/sepermit(/.*)?
127 /var/run/pam_mount(/.*)?
128 /var/run/pam_timestamp(/.*)?
129 /var/run/motd
130
131 security_t
132
133 /selinux
134
135 sudo_db_t
136
137 /var/db/sudo(/.*)?
138
139 sudo_log_t
140
141 /var/log/sudo-io(/.*)?
142
143
145 semanage fcontext can also be used to manipulate default file context
146 mappings.
147
148 semanage permissive can also be used to manipulate whether or not a
149 process type is permissive.
150
151 semanage module can also be used to enable/disable/install/remove pol‐
152 icy modules.
153
154 semanage boolean can also be used to manipulate the booleans
155
156
157 system-config-selinux is a GUI tool available to customize SELinux pol‐
158 icy settings.
159
160
162 This manual page was auto-generated using sepolicy manpage .
163
164
166 selinux(8), staff_sudo(8), semanage(8), restorecon(8), chcon(1), sepol‐
167 icy(8), setsebool(8)
168
169
170
171staff_sudo 21-03-26 staff_sudo_selinux(8)