1man2html_script_selinux(8S)ELinux Policy man2html_scripmtan2html_script_selinux(8)
2
3
4

NAME

6       man2html_script_selinux  -  Security  Enhanced  Linux  Policy  for  the
7       man2html_script processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the man2html_script processes via flex‐
11       ible mandatory access control.
12
13       The   man2html_script  processes  execute  with  the  man2html_script_t
14       SELinux type. You can check if you have these processes running by exe‐
15       cuting the ps command with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep man2html_script_t
20
21
22

ENTRYPOINTS

24       The   man2html_script_t   SELinux   type   can   be   entered  via  the
25       man2html_script_exec_t,   shell_exec_t,   man2html_script_exec_t   file
26       types.
27
28       The  default  entrypoint paths for the man2html_script_t domain are the
29       following:
30
31       /usr/lib/man2html/cgi-bin/man/mansec,            /usr/lib/man2html/cgi-
32       bin/man/man2html,  /usr/lib/man2html/cgi-bin/man/manwhatis, /bin/d?ash,
33       /bin/zsh.*, /bin/ksh.*, /usr/bin/d?ash, /usr/bin/ksh.*, /usr/bin/zsh.*,
34       /bin/esh,   /bin/mksh,   /bin/sash,  /bin/tcsh,  /bin/yash,  /bin/bash,
35       /bin/fish,  /bin/bash2,  /usr/bin/esh,  /usr/bin/sash,   /usr/bin/tcsh,
36       /usr/bin/yash, /usr/bin/mksh, /usr/bin/fish, /usr/bin/bash, /sbin/nolo‐
37       gin, /usr/sbin/sesh, /usr/bin/bash2, /usr/sbin/smrsh, /usr/bin/scponly,
38       /usr/sbin/nologin, /usr/libexec/sesh, /usr/sbin/scponlyc, /usr/bin/git-
39       shell,         /usr/libexec/sudo/sesh,         /usr/bin/cockpit-bridge,
40       /usr/libexec/cockpit-agent,            /usr/libexec/git-core/git-shell,
41       /usr/lib/man2html/cgi-bin/man/mansec,            /usr/lib/man2html/cgi-
42       bin/man/man2html, /usr/lib/man2html/cgi-bin/man/manwhatis
43

PROCESS TYPES

45       SELinux defines process types (domains) for each process running on the
46       system
47
48       You can see the context of a process using the -Z option to ps
49
50       Policy governs the access confined processes have  to  files.   SELinux
51       man2html_script  policy  is very flexible allowing users to setup their
52       man2html_script processes in as secure a method as possible.
53
54       The following process types are defined for man2html_script:
55
56       man2html_script_t
57
58       Note: semanage permissive -a man2html_script_t can be used to make  the
59       process type man2html_script_t permissive. SELinux does not deny access
60       to permissive process types, but the AVC (SELinux denials) messages are
61       still generated.
62
63

BOOLEANS

65       SELinux   policy  is  customizable  based  on  least  access  required.
66       man2html_script policy is extremely flexible and has  several  booleans
67       that  allow  you  to manipulate the policy and run man2html_script with
68       the tightest access possible.
69
70
71
72       If you want to deny any process from ptracing or  debugging  any  other
73       processes,  you  must  turn  on  the  deny_ptrace  boolean.  Enabled by
74       default.
75
76       setsebool -P deny_ptrace 1
77
78
79
80       If you want to allow any process  to  mmap  any  file  on  system  with
81       attribute  file_type,  you must turn on the domain_can_mmap_files bool‐
82       ean. Enabled by default.
83
84       setsebool -P domain_can_mmap_files 1
85
86
87
88       If you want to allow all domains write to kmsg_device, while kernel  is
89       executed  with  systemd.log_target=kmsg parameter, you must turn on the
90       domain_can_write_kmsg boolean. Disabled by default.
91
92       setsebool -P domain_can_write_kmsg 1
93
94
95
96       If you want to allow all domains to use other domains file descriptors,
97       you must turn on the domain_fd_use boolean. Enabled by default.
98
99       setsebool -P domain_fd_use 1
100
101
102
103       If  you  want to allow all domains to have the kernel load modules, you
104       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
105       default.
106
107       setsebool -P domain_kernel_load_modules 1
108
109
110
111       If you want to allow all domains to execute in fips_mode, you must turn
112       on the fips_mode boolean. Enabled by default.
113
114       setsebool -P fips_mode 1
115
116
117
118       If you want to enable reading of urandom for all domains, you must turn
119       on the global_ssp boolean. Disabled by default.
120
121       setsebool -P global_ssp 1
122
123
124
125       If  you  want  to  allow  httpd  cgi  support,  you  must  turn  on the
126       httpd_enable_cgi boolean. Disabled by default.
127
128       setsebool -P httpd_enable_cgi 1
129
130
131
132       If you want to allow system to run with  NIS,  you  must  turn  on  the
133       nis_enabled boolean. Disabled by default.
134
135       setsebool -P nis_enabled 1
136
137
138

MANAGED FILES

140       The  SELinux  process  type  man2html_script_t can manage files labeled
141       with the following file types.  The paths listed are the default  paths
142       for  these  file  types.  Note the processes UID still need to have DAC
143       permissions.
144
145       man2html_rw_content_t
146
147            /var/cache/man2html(/.*)?
148
149

FILE CONTEXTS

151       SELinux requires files to have an extended attribute to define the file
152       type.
153
154       You can see the context of a file using the -Z option to ls
155
156       Policy  governs  the  access  confined  processes  have to these files.
157       SELinux man2html_script policy is very flexible allowing users to setup
158       their man2html_script processes in as secure a method as possible.
159
160       The following file types are defined for man2html_script:
161
162
163
164       man2html_script_exec_t
165
166       -  Set files with the man2html_script_exec_t type, if you want to tran‐
167       sition an executable to the man2html_script_t domain.
168
169
170       Paths:
171            /usr/lib/man2html/cgi-bin/man/mansec,       /usr/lib/man2html/cgi-
172            bin/man/man2html, /usr/lib/man2html/cgi-bin/man/manwhatis
173
174
175       Note:  File context can be temporarily modified with the chcon command.
176       If you want to permanently change the file context you need to use  the
177       semanage fcontext command.  This will modify the SELinux labeling data‐
178       base.  You will need to use restorecon to apply the labels.
179
180

COMMANDS

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

AUTHOR

199       This manual page was auto-generated using sepolicy manpage .
200
201

SEE ALSO

203       selinux(8), man2html_script(8), semanage(8),  restorecon(8),  chcon(1),
204       sepolicy(8) , setsebool(8)
205
206
207
208man2html_script                    19-04-25         man2html_script_selinux(8)
Impressum