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-up‐
28       date
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  dontaudit all daemons scheduling requests (setsched,
58       sys_nice), you must turn on the  daemons_dontaudit_scheduling  boolean.
59       Enabled by default.
60
61       setsebool -P daemons_dontaudit_scheduling 1
62
63
64
65       If you want to allow all domains to execute in fips_mode, you must turn
66       on the fips_mode boolean. Enabled by default.
67
68       setsebool -P fips_mode 1
69
70
71

PORT TYPES

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

MANAGED FILES

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

FILE CONTEXTS

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

COMMANDS

215       semanage  fcontext  can also be used to manipulate default file context
216       mappings.
217
218       semanage permissive can also be used to manipulate  whether  or  not  a
219       process type is permissive.
220
221       semanage  module can also be used to enable/disable/install/remove pol‐
222       icy modules.
223
224       semanage port can also be used to manipulate the port definitions
225
226       semanage boolean can also be used to manipulate the booleans
227
228
229       system-config-selinux is a GUI tool available to customize SELinux pol‐
230       icy settings.
231
232

AUTHOR

234       This manual page was auto-generated using sepolicy manpage .
235
236

SEE ALSO

238       selinux(8),  tangd(8),  semanage(8),  restorecon(8),  chcon(1),  sepol‐
239       icy(8), setsebool(8)
240
241
242
243tangd                              23-10-20                   tangd_selinux(8)
Impressum