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/courier/courier/courierpop.*,                  /usr/bin/imapd,
31       /usr/sbin/imaplogin,  /usr/lib/courier/imapd,   /usr/lib/courier/pop3d,
32       /usr/sbin/courier-imapd, /usr/lib/courier/courier/imaplogin
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 daemons_dump_core boolean. Disabled by default.
64
65       setsebool -P daemons_dump_core 1
66
67
68
69       If  you  want  to enable cluster mode for daemons, you must turn on the
70       daemons_enable_cluster_mode boolean. Enabled by default.
71
72       setsebool -P daemons_enable_cluster_mode 1
73
74
75
76       If you want to allow all daemons to use tcp wrappers, you must turn  on
77       the daemons_use_tcp_wrapper boolean. Disabled by default.
78
79       setsebool -P daemons_use_tcp_wrapper 1
80
81
82
83       If  you  want to allow all daemons the ability to read/write terminals,
84       you must turn on the daemons_use_tty boolean. Disabled by default.
85
86       setsebool -P daemons_use_tty 1
87
88
89
90       If you want to deny any process from ptracing or  debugging  any  other
91       processes,  you  must  turn  on  the  deny_ptrace  boolean.  Enabled by
92       default.
93
94       setsebool -P deny_ptrace 1
95
96
97
98       If you want to allow any process  to  mmap  any  file  on  system  with
99       attribute  file_type,  you must turn on the domain_can_mmap_files bool‐
100       ean. Enabled by default.
101
102       setsebool -P domain_can_mmap_files 1
103
104
105
106       If you want to allow all domains write to kmsg_device, while kernel  is
107       executed  with  systemd.log_target=kmsg parameter, you must turn on the
108       domain_can_write_kmsg boolean. Disabled by default.
109
110       setsebool -P domain_can_write_kmsg 1
111
112
113
114       If you want to allow all domains to use other domains file descriptors,
115       you must turn on the domain_fd_use boolean. Enabled by default.
116
117       setsebool -P domain_fd_use 1
118
119
120
121       If  you  want to allow all domains to have the kernel load modules, you
122       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
123       default.
124
125       setsebool -P domain_kernel_load_modules 1
126
127
128
129       If you want to allow all domains to execute in fips_mode, you must turn
130       on the fips_mode boolean. Enabled by default.
131
132       setsebool -P fips_mode 1
133
134
135
136       If you want to enable reading of urandom for all domains, you must turn
137       on the global_ssp boolean. Disabled by default.
138
139       setsebool -P global_ssp 1
140
141
142

MANAGED FILES

144       The  SELinux  process  type courier_pop_t can manage files labeled with
145       the following file types.  The paths listed are the default  paths  for
146       these  file  types.  Note the processes UID still need to have DAC per‐
147       missions.
148
149       cluster_conf_t
150
151            /etc/cluster(/.*)?
152
153       cluster_var_lib_t
154
155            /var/lib/pcsd(/.*)?
156            /var/lib/cluster(/.*)?
157            /var/lib/openais(/.*)?
158            /var/lib/pengine(/.*)?
159            /var/lib/corosync(/.*)?
160            /usr/lib/heartbeat(/.*)?
161            /var/lib/heartbeat(/.*)?
162            /var/lib/pacemaker(/.*)?
163
164       cluster_var_run_t
165
166            /var/run/crm(/.*)?
167            /var/run/cman_.*
168            /var/run/rsctmp(/.*)?
169            /var/run/aisexec.*
170            /var/run/heartbeat(/.*)?
171            /var/run/corosync-qnetd(/.*)?
172            /var/run/corosync-qdevice(/.*)?
173            /var/run/cpglockd.pid
174            /var/run/corosync.pid
175            /var/run/rgmanager.pid
176            /var/run/cluster/rgmanager.sk
177
178       courier_var_run_t
179
180            /var/run/courier(/.*)?
181
182       root_t
183
184            /sysroot/ostree/deploy/.*-atomic.*/deploy(/.*)?
185            /
186            /initrd
187
188       user_home_t
189
190            /home/[^/]+/.+
191
192

FILE CONTEXTS

194       SELinux requires files to have an extended attribute to define the file
195       type.
196
197       You can see the context of a file using the -Z option to ls
198
199       Policy  governs  the  access  confined  processes  have to these files.
200       SELinux courier_pop policy is very flexible  allowing  users  to  setup
201       their courier_pop processes in as secure a method as possible.
202
203       The following file types are defined for courier_pop:
204
205
206
207       courier_pop_exec_t
208
209       - Set files with the courier_pop_exec_t type, if you want to transition
210       an executable to the courier_pop_t domain.
211
212
213       Paths:
214            /usr/lib/courier/courier/courierpop.*,             /usr/bin/imapd,
215            /usr/sbin/imaplogin,                       /usr/lib/courier/imapd,
216            /usr/lib/courier/pop3d,                   /usr/sbin/courier-imapd,
217            /usr/lib/courier/courier/imaplogin
218
219
220       Note:  File context can be temporarily modified with the chcon command.
221       If you want to permanently change the file context you need to use  the
222       semanage fcontext command.  This will modify the SELinux labeling data‐
223       base.  You will need to use restorecon to apply the labels.
224
225

COMMANDS

227       semanage fcontext can also be used to manipulate default  file  context
228       mappings.
229
230       semanage  permissive  can  also  be used to manipulate whether or not a
231       process type is permissive.
232
233       semanage module can also be used to enable/disable/install/remove  pol‐
234       icy modules.
235
236       semanage boolean can also be used to manipulate the booleans
237
238
239       system-config-selinux is a GUI tool available to customize SELinux pol‐
240       icy settings.
241
242

AUTHOR

244       This manual page was auto-generated using sepolicy manpage .
245
246

SEE ALSO

248       selinux(8),  courier_pop(8),  semanage(8),   restorecon(8),   chcon(1),
249       sepolicy(8) , setsebool(8)
250
251
252
253courier_pop                        19-04-25             courier_pop_selinux(8)
Impressum