1courier_pop_selinux(8)    SELinux Policy courier_pop    courier_pop_selinux(8)
2
3
4

NAME

6       courier_pop_selinux   -   Security   Enhanced   Linux  Policy  for  the
7       courier_pop processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the courier_pop processes via  flexible
11       mandatory access control.
12
13       The  courier_pop processes execute with the courier_pop_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 courier_pop_t
20
21
22

ENTRYPOINTS

24       The    courier_pop_t    SELinux   type   can   be   entered   via   the
25       courier_pop_exec_t file type.
26
27       The default entrypoint paths for the courier_pop_t domain are the  fol‐
28       lowing:
29
30       /usr/lib(64)?/courier/imapd,               /usr/lib(64)?/courier/pop3d,
31       /usr/lib(64)?/courier/courier/imaplogin,
32       /usr/lib(64)?/courier/courier/courierpop.*, /usr/bin/imapd
33

PROCESS TYPES

35       SELinux defines process types (domains) for each process running on the
36       system
37
38       You can see the context of a process using the -Z option to ps
39
40       Policy governs the access confined processes have  to  files.   SELinux
41       courier_pop  policy  is  very  flexible  allowing  users to setup their
42       courier_pop processes in as secure a method as possible.
43
44       The following process types are defined for courier_pop:
45
46       courier_pop_t
47
48       Note: semanage permissive -a courier_pop_t can  be  used  to  make  the
49       process  type courier_pop_t permissive. SELinux does not deny access to
50       permissive process types, but the AVC (SELinux  denials)  messages  are
51       still generated.
52
53

BOOLEANS

55       SELinux   policy  is  customizable  based  on  least  access  required.
56       courier_pop policy is extremely flexible and has several booleans  that
57       allow  you to manipulate the policy and run courier_pop with the tight‐
58       est access possible.
59
60
61
62       If you want to allow all daemons to write corefiles to /, you must turn
63       on the allow_daemons_dump_core boolean. Disabled by default.
64
65       setsebool -P allow_daemons_dump_core 1
66
67
68
69       If  you want to allow all daemons to use tcp wrappers, you must turn on
70       the allow_daemons_use_tcp_wrapper boolean. Disabled by default.
71
72       setsebool -P allow_daemons_use_tcp_wrapper 1
73
74
75
76       If you want to allow all daemons the ability to  read/write  terminals,
77       you  must  turn  on  the  allow_daemons_use_tty  boolean.  Disabled  by
78       default.
79
80       setsebool -P allow_daemons_use_tty 1
81
82
83
84       If you want to allow all domains to use other domains file descriptors,
85       you must turn on the allow_domain_fd_use boolean. Enabled by default.
86
87       setsebool -P allow_domain_fd_use 1
88
89
90
91       If  you want to allow sysadm to debug or ptrace all processes, you must
92       turn on the allow_ptrace boolean. Disabled by default.
93
94       setsebool -P allow_ptrace 1
95
96
97
98       If you want to enable cluster mode for daemons, you must  turn  on  the
99       daemons_enable_cluster_mode boolean. Disabled by default.
100
101       setsebool -P daemons_enable_cluster_mode 1
102
103
104
105       If  you  want to allow all domains to have the kernel load modules, you
106       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
107       default.
108
109       setsebool -P domain_kernel_load_modules 1
110
111
112
113       If you want to allow all domains to execute in fips_mode, you must turn
114       on the fips_mode boolean. Enabled by default.
115
116       setsebool -P fips_mode 1
117
118
119
120       If you want to enable reading of urandom for all domains, you must turn
121       on the global_ssp boolean. Disabled by default.
122
123       setsebool -P global_ssp 1
124
125
126
127       If you want to enable support for upstart as the init program, you must
128       turn on the init_upstart boolean. Enabled by default.
129
130       setsebool -P init_upstart 1
131
132
133

MANAGED FILES

135       The SELinux process type courier_pop_t can manage  files  labeled  with
136       the  following  file types.  The paths listed are the default paths for
137       these file types.  Note the processes UID still need to have  DAC  per‐
138       missions.
139
140       cluster_conf_t
141
142            /etc/cluster(/.*)?
143
144       cluster_var_lib_t
145
146            /var/lib(64)?/openais(/.*)?
147            /var/lib(64)?/pengine(/.*)?
148            /var/lib(64)?/corosync(/.*)?
149            /usr/lib(64)?/heartbeat(/.*)?
150            /var/lib(64)?/heartbeat(/.*)?
151            /var/lib(64)?/pacemaker(/.*)?
152            /var/lib/cluster(/.*)?
153
154       cluster_var_run_t
155
156            /var/run/crm(/.*)?
157            /var/run/cman_.*
158            /var/run/rsctmp(/.*)?
159            /var/run/aisexec.*
160            /var/run/heartbeat(/.*)?
161            /var/run/cpglockd.pid
162            /var/run/corosync.pid
163            /var/run/rgmanager.pid
164            /var/run/cluster/rgmanager.sk
165
166       courier_var_run_t
167
168            /var/run/courier(/.*)?
169
170       initrc_tmp_t
171
172
173       mnt_t
174
175            /mnt(/[^/]*)
176            /mnt(/[^/]*)?
177            /rhev(/[^/]*)?
178            /media(/[^/]*)
179            /media(/[^/]*)?
180            /etc/rhgb(/.*)?
181            /media/.hal-.*
182            /net
183            /afs
184            /rhev
185            /misc
186
187       root_t
188
189            /
190            /initrd
191
192       tmp_t
193
194            /tmp
195            /usr/tmp
196            /var/tmp
197            /tmp-inst
198            /var/tmp-inst
199            /var/tmp/vi.recover
200
201       user_home_t
202
203            /home/[^/]*/.+
204            /home/staff/.+
205
206

FILE CONTEXTS

208       SELinux requires files to have an extended attribute to define the file
209       type.
210
211       You can see the context of a file using the -Z option to ls
212
213       Policy governs the access  confined  processes  have  to  these  files.
214       SELinux  courier_pop  policy  is  very flexible allowing users to setup
215       their courier_pop processes in as secure a method as possible.
216
217       The following file types are defined for courier_pop:
218
219
220
221       courier_pop_exec_t
222
223       - Set files with the courier_pop_exec_t type, if you want to transition
224       an executable to the courier_pop_t domain.
225
226
227       Paths:
228            /usr/lib(64)?/courier/imapd,          /usr/lib(64)?/courier/pop3d,
229            /usr/lib(64)?/courier/courier/imaplogin,
230            /usr/lib(64)?/courier/courier/courierpop.*, /usr/bin/imapd
231
232
233       Note:  File context can be temporarily modified with the chcon command.
234       If you want to permanently change the file context you need to use  the
235       semanage fcontext command.  This will modify the SELinux labeling data‐
236       base.  You will need to use restorecon to apply the labels.
237
238

COMMANDS

240       semanage fcontext can also be used to manipulate default  file  context
241       mappings.
242
243       semanage  permissive  can  also  be used to manipulate whether or not a
244       process type is permissive.
245
246       semanage module can also be used to enable/disable/install/remove  pol‐
247       icy modules.
248
249       semanage boolean can also be used to manipulate the booleans
250
251
252       system-config-selinux is a GUI tool available to customize SELinux pol‐
253       icy settings.
254
255

AUTHOR

257       This manual page was auto-generated using sepolicy manpage .
258
259

SEE ALSO

261       selinux(8), courier_pop(8), semanage(8), restorecon(8), chcon(1) , set‐
262       sebool(8)
263
264
265
266courier_pop                        15-06-03             courier_pop_selinux(8)
Impressum