1tangd_selinux(8)             SELinux Policy tangd             tangd_selinux(8)
2
3
4

NAME

6       tangd_selinux - Security Enhanced Linux Policy for the tangd processes
7

DESCRIPTION

9       Security-Enhanced Linux secures the tangd processes via flexible manda‐
10       tory access control.
11
12       The tangd processes execute with the  tangd_t  SELinux  type.  You  can
13       check  if  you have these processes running by executing the ps command
14       with the -Z qualifier.
15
16       For example:
17
18       ps -eZ | grep tangd_t
19
20
21

ENTRYPOINTS

23       The tangd_t SELinux type can be entered via the tangd_exec_t file type.
24
25       The default entrypoint paths for the tangd_t domain are the following:
26
27       /usr/libexec/tangd,   /usr/libexec/tangd-keygen,    /usr/libexec/tangd-
28       update
29

PROCESS TYPES

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

BOOLEANS

51       SELinux  policy  is customizable based on least access required.  tangd
52       policy is extremely flexible and has several booleans that allow you to
53       manipulate the policy and run tangd with the tightest access possible.
54
55
56
57       If you want to allow all domains to execute in fips_mode, you must turn
58       on the fips_mode boolean. Enabled by default.
59
60       setsebool -P fips_mode 1
61
62
63

PORT TYPES

65       SELinux defines port types to represent TCP and UDP ports.
66
67       You can see the types associated with a port  by  using  the  following
68       command:
69
70       semanage port -l
71
72
73       Policy  governs  the  access  confined  processes  have to these ports.
74       SELinux tangd policy is very flexible allowing  users  to  setup  their
75       tangd processes in as secure a method as possible.
76
77       The following port types are defined for tangd:
78
79
80       tangd_port_t
81
82
83
84       Default Defined Ports:
85                 tcp 7406
86

MANAGED FILES

88       The SELinux process type tangd_t can manage files labeled with the fol‐
89       lowing file types.  The paths listed are the default  paths  for  these
90       file types.  Note the processes UID still need to have DAC permissions.
91
92       cluster_conf_t
93
94            /etc/cluster(/.*)?
95
96       cluster_var_lib_t
97
98            /var/lib/pcsd(/.*)?
99            /var/lib/cluster(/.*)?
100            /var/lib/openais(/.*)?
101            /var/lib/pengine(/.*)?
102            /var/lib/corosync(/.*)?
103            /usr/lib/heartbeat(/.*)?
104            /var/lib/heartbeat(/.*)?
105            /var/lib/pacemaker(/.*)?
106
107       cluster_var_run_t
108
109            /var/run/crm(/.*)?
110            /var/run/cman_.*
111            /var/run/rsctmp(/.*)?
112            /var/run/aisexec.*
113            /var/run/heartbeat(/.*)?
114            /var/run/corosync-qnetd(/.*)?
115            /var/run/corosync-qdevice(/.*)?
116            /var/run/corosync.pid
117            /var/run/cpglockd.pid
118            /var/run/rgmanager.pid
119            /var/run/cluster/rgmanager.sk
120
121       root_t
122
123            /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
124            /
125            /initrd
126
127       tangd_cache_t
128
129            /var/cache/tang(/.*)?
130
131       tangd_db_t
132
133            /var/db/tang(/.*)?
134
135

FILE CONTEXTS

137       SELinux requires files to have an extended attribute to define the file
138       type.
139
140       You can see the context of a file using the -Z option to ls
141
142       Policy governs the access  confined  processes  have  to  these  files.
143       SELinux  tangd  policy  is  very flexible allowing users to setup their
144       tangd processes in as secure a method as possible.
145
146       STANDARD FILE CONTEXT
147
148       SELinux defines the file context types for the tangd, if you wanted  to
149       store  files  with  these types in a diffent paths, you need to execute
150       the semanage command  to  sepecify  alternate  labeling  and  then  use
151       restorecon to put the labels on disk.
152
153       semanage fcontext -a -t tangd_db_t '/srv/mytangd_content(/.*)?'
154       restorecon -R -v /srv/mytangd_content
155
156       Note:  SELinux  often  uses  regular expressions to specify labels that
157       match multiple files.
158
159       The following file types are defined for tangd:
160
161
162
163       tangd_cache_t
164
165       - Set files with the tangd_cache_t type, if you want to store the files
166       under the /var/cache directory.
167
168
169
170       tangd_db_t
171
172       - Set files with the tangd_db_t type, if you want to treat the files as
173       tangd database content.
174
175
176
177       tangd_exec_t
178
179       - Set files with the tangd_exec_t type, if you want  to  transition  an
180       executable to the tangd_t domain.
181
182
183       Paths:
184            /usr/libexec/tangd, /usr/libexec/tangd-keygen, /usr/libexec/tangd-
185            update
186
187
188       tangd_unit_file_t
189
190       - Set files with the tangd_unit_file_t type, if you want to  treat  the
191       files as tangd unit content.
192
193
194       Paths:
195            /usr/lib/systemd/system/tang.*, /usr/lib/systemd/system/tangd-key‐
196            gen.*
197
198
199       Note: File context can be temporarily modified with the chcon  command.
200       If  you want to permanently change the file context you need to use the
201       semanage fcontext command.  This will modify the SELinux labeling data‐
202       base.  You will need to use restorecon to apply the labels.
203
204

COMMANDS

206       semanage  fcontext  can also be used to manipulate default file context
207       mappings.
208
209       semanage permissive can also be used to manipulate  whether  or  not  a
210       process type is permissive.
211
212       semanage  module can also be used to enable/disable/install/remove pol‐
213       icy modules.
214
215       semanage port can also be used to manipulate the port definitions
216
217       semanage boolean can also be used to manipulate the booleans
218
219
220       system-config-selinux is a GUI tool available to customize SELinux pol‐
221       icy settings.
222
223

AUTHOR

225       This manual page was auto-generated using sepolicy manpage .
226
227

SEE ALSO

229       selinux(8),  tangd(8),  semanage(8),  restorecon(8),  chcon(1),  sepol‐
230       icy(8), setsebool(8)
231
232
233
234tangd                              19-06-18                   tangd_selinux(8)
Impressum