1unconfined_sendmail_selSiEnLuixn(u8x)Policy unconfined_suenncdomnafiilned_sendmail_selinux(8)
2
3
4
6 unconfined_sendmail_selinux - Security Enhanced Linux Policy for the
7 unconfined_sendmail processes
8
10 Security-Enhanced Linux secures the unconfined_sendmail processes via
11 flexible mandatory access control.
12
13 The unconfined_sendmail processes execute with the unconfined_send‐
14 mail_t SELinux type. You can check if you have these processes running
15 by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep unconfined_sendmail_t
20
21
22
24 The unconfined_sendmail_t SELinux type can be entered via the send‐
25 mail_exec_t, file_type, unlabeled_t, proc_type, filesystem_type,
26 mtrr_device_t, sysctl_type file types.
27
28 The default entrypoint paths for the unconfined_sendmail_t domain are
29 the following:
30
31 /usr/lib(64)?/sendmail, /bin/mail(x)?, /usr/sbin/sendmail(.sendmail)?,
32 /usr/bin/esmtp, /usr/sbin/ssmtp, /usr/sbin/rmail, /var/qmail/bin/send‐
33 mail, /usr/sbin/sendmail.postfix, all files on the system,
34 /dev/cpu/mtrr
35
37 SELinux defines process types (domains) for each process running on the
38 system
39
40 You can see the context of a process using the -Z option to ps
41
42 Policy governs the access confined processes have to files. SELinux
43 unconfined_sendmail policy is very flexible allowing users to setup
44 their unconfined_sendmail processes in as secure a method as possible.
45
46 The following process types are defined for unconfined_sendmail:
47
48 unconfined_sendmail_t
49
50 Note: semanage permissive -a unconfined_sendmail_t can be used to make
51 the process type unconfined_sendmail_t permissive. SELinux does not
52 deny access to permissive process types, but the AVC (SELinux denials)
53 messages are still generated.
54
55
57 SELinux policy is customizable based on least access required. uncon‐
58 fined_sendmail policy is extremely flexible and has several booleans
59 that allow you to manipulate the policy and run unconfined_sendmail
60 with the tightest access possible.
61
62
63
64 If you want to allow all domains to use other domains file descriptors,
65 you must turn on the allow_domain_fd_use boolean. Enabled by default.
66
67 setsebool -P allow_domain_fd_use 1
68
69
70
71 If you want to allow unconfined executables to make their heap memory
72 executable. Doing this is a really bad idea. Probably indicates a
73 badly coded executable, but could indicate an attack. This executable
74 should be reported in bugzilla, you must turn on the allow_execheap
75 boolean. Disabled by default.
76
77 setsebool -P allow_execheap 1
78
79
80
81 If you want to allow unconfined executables to map a memory region as
82 both executable and writable, this is dangerous and the executable
83 should be reported in bugzilla), you must turn on the allow_execmem
84 boolean. Enabled by default.
85
86 setsebool -P allow_execmem 1
87
88
89
90 If you want to allow all unconfined executables to use libraries
91 requiring text relocation that are not labeled textrel_shlib_t), you
92 must turn on the allow_execmod boolean. Enabled by default.
93
94 setsebool -P allow_execmod 1
95
96
97
98 If you want to allow unconfined executables to make their stack exe‐
99 cutable. This should never, ever be necessary. Probably indicates a
100 badly coded executable, but could indicate an attack. This executable
101 should be reported in bugzilla), you must turn on the allow_execstack
102 boolean. Enabled by default.
103
104 setsebool -P allow_execstack 1
105
106
107
108 If you want to allow sysadm to debug or ptrace all processes, you must
109 turn on the allow_ptrace boolean. Disabled by default.
110
111 setsebool -P allow_ptrace 1
112
113
114
115 If you want to allow all domains to have the kernel load modules, you
116 must turn on the domain_kernel_load_modules boolean. Disabled by
117 default.
118
119 setsebool -P domain_kernel_load_modules 1
120
121
122
123 If you want to allow all domains to execute in fips_mode, you must turn
124 on the fips_mode boolean. Enabled by default.
125
126 setsebool -P fips_mode 1
127
128
129
130 If you want to enable reading of urandom for all domains, you must turn
131 on the global_ssp boolean. Disabled by default.
132
133 setsebool -P global_ssp 1
134
135
136
137 If you want to allow certain domains to map low memory in the kernel,
138 you must turn on the mmap_low_allowed boolean. Disabled by default.
139
140 setsebool -P mmap_low_allowed 1
141
142
143
144 If you want to boolean to determine whether the system permits loading
145 policy, setting enforcing mode, and changing boolean values. Set this
146 to true and you have to reboot to set it back, you must turn on the
147 secure_mode_policyload boolean. Disabled by default.
148
149 setsebool -P secure_mode_policyload 1
150
151
152
153 If you want to support X userspace object manager, you must turn on the
154 xserver_object_manager boolean. Disabled by default.
155
156 setsebool -P xserver_object_manager 1
157
158
159
161 The SELinux process type unconfined_sendmail_t can manage files labeled
162 with the following file types. The paths listed are the default paths
163 for these file types. Note the processes UID still need to have DAC
164 permissions.
165
166 file_type
167
168 all files on the system
169
170
172 semanage fcontext can also be used to manipulate default file context
173 mappings.
174
175 semanage permissive can also be used to manipulate whether or not a
176 process type is permissive.
177
178 semanage module can also be used to enable/disable/install/remove pol‐
179 icy modules.
180
181 semanage boolean can also be used to manipulate the booleans
182
183
184 system-config-selinux is a GUI tool available to customize SELinux pol‐
185 icy settings.
186
187
189 This manual page was auto-generated using sepolicy manpage .
190
191
193 selinux(8), unconfined_sendmail(8), semanage(8), restorecon(8),
194 chcon(1) , setsebool(8)
195
196
197
198unconfined_sendmail 15-06-03 unconfined_sendmail_selinux(8)