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 dontaudit all  daemons  scheduling  requests  (setsched,
63       sys_nice),  you  must turn on the daemons_dontaudit_scheduling boolean.
64       Enabled by default.
65
66       setsebool -P daemons_dontaudit_scheduling 1
67
68
69
70       If you want to allow all domains to execute in fips_mode, you must turn
71       on the fips_mode boolean. Enabled by default.
72
73       setsebool -P fips_mode 1
74
75
76

MANAGED FILES

78       The  SELinux  process  type courier_pop_t can manage files labeled with
79       the following file types.  The paths listed are the default  paths  for
80       these  file  types.  Note the processes UID still need to have DAC per‐
81       missions.
82
83       cluster_conf_t
84
85            /etc/cluster(/.*)?
86
87       cluster_var_lib_t
88
89            /var/lib/pcsd(/.*)?
90            /var/lib/cluster(/.*)?
91            /var/lib/openais(/.*)?
92            /var/lib/pengine(/.*)?
93            /var/lib/corosync(/.*)?
94            /usr/lib/heartbeat(/.*)?
95            /var/lib/heartbeat(/.*)?
96            /var/lib/pacemaker(/.*)?
97
98       cluster_var_run_t
99
100            /var/run/crm(/.*)?
101            /var/run/cman_.*
102            /var/run/rsctmp(/.*)?
103            /var/run/aisexec.*
104            /var/run/heartbeat(/.*)?
105            /var/run/pcsd-ruby.socket
106            /var/run/corosync-qnetd(/.*)?
107            /var/run/corosync-qdevice(/.*)?
108            /var/run/corosync.pid
109            /var/run/cpglockd.pid
110            /var/run/rgmanager.pid
111            /var/run/cluster/rgmanager.sk
112
113       courier_var_run_t
114
115            /var/run/courier(/.*)?
116
117       root_t
118
119            /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
120            /
121            /initrd
122
123       user_home_t
124
125            /home/[^/]+/.+
126
127

FILE CONTEXTS

129       SELinux requires files to have an extended attribute to define the file
130       type.
131
132       You can see the context of a file using the -Z option to ls
133
134       Policy  governs  the  access  confined  processes  have to these files.
135       SELinux courier_pop policy is very flexible  allowing  users  to  setup
136       their courier_pop processes in as secure a method as possible.
137
138       STANDARD FILE CONTEXT
139
140       SELinux  defines  the  file  context  types for the courier_pop, if you
141       wanted to store files with these types in a different paths,  you  need
142       to  execute the semanage command to specify alternate labeling and then
143       use restorecon to put the labels on disk.
144
145       semanage  fcontext  -a  -t  courier_pop_exec_t   '/srv/courier_pop/con‐
146       tent(/.*)?'
147       restorecon -R -v /srv/mycourier_pop_content
148
149       Note:  SELinux  often  uses  regular expressions to specify labels that
150       match multiple files.
151
152       The following file types are defined for courier_pop:
153
154
155
156       courier_pop_exec_t
157
158       - Set files with the courier_pop_exec_t type, if you want to transition
159       an executable to the courier_pop_t domain.
160
161
162       Paths:
163            /usr/lib/courier/courier/courierpop.*,             /usr/bin/imapd,
164            /usr/sbin/imaplogin,                       /usr/lib/courier/imapd,
165            /usr/lib/courier/pop3d,                   /usr/sbin/courier-imapd,
166            /usr/lib/courier/courier/imaplogin
167
168
169       Note: File context can be temporarily modified with the chcon  command.
170       If  you want to permanently change the file context you need to use the
171       semanage fcontext command.  This will modify the SELinux labeling data‐
172       base.  You will need to use restorecon to apply the labels.
173
174

COMMANDS

176       semanage  fcontext  can also be used to manipulate default file context
177       mappings.
178
179       semanage permissive can also be used to manipulate  whether  or  not  a
180       process type is permissive.
181
182       semanage  module can also be used to enable/disable/install/remove pol‐
183       icy modules.
184
185       semanage boolean can also be used to manipulate the booleans
186
187
188       system-config-selinux is a GUI tool available to customize SELinux pol‐
189       icy settings.
190
191

AUTHOR

193       This manual page was auto-generated using sepolicy manpage .
194
195

SEE ALSO

197       selinux(8),  courier_pop(8),  semanage(8), restorecon(8), chcon(1), se‐
198       policy(8), setsebool(8)
199
200
201
202courier_pop                        23-10-20             courier_pop_selinux(8)
Impressum