1httpd_nutups_cgi_scriSpEtL_isneulxinPuoxl(i8c)y httpd_nutuhptst_pcdg_in_ustcurpisp_tcgi_script_selinux(8)
2
3
4
6 httpd_nutups_cgi_script_selinux - Security Enhanced Linux Policy for
7 the httpd_nutups_cgi_script processes
8
10 Security-Enhanced Linux secures the httpd_nutups_cgi_script processes
11 via flexible mandatory access control.
12
13 The httpd_nutups_cgi_script processes execute with the
14 httpd_nutups_cgi_script_t SELinux type. You can check if you have these
15 processes running by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep httpd_nutups_cgi_script_t
20
21
22
24 The httpd_nutups_cgi_script_t SELinux type can be entered via the
25 shell_exec_t, httpd_nutups_cgi_script_exec_t,
26 httpd_nutups_cgi_script_exec_t file types.
27
28 The default entrypoint paths for the httpd_nutups_cgi_script_t domain
29 are the following:
30
31 /bin/d?ash, /bin/zsh.*, /bin/ksh.*, /bin/sash, /bin/tcsh, /bin/yash,
32 /bin/mksh, /bin/fish, /bin/bash, /bin/bash2, /usr/bin/fish, /sbin/nolo‐
33 gin, /usr/sbin/sesh, /usr/sbin/smrsh, /usr/bin/scponly,
34 /usr/libexec/sesh, /usr/sbin/scponlyc, /usr/bin/git-shell,
35 /usr/libexec/git-core/git-shell, /var/www/nut-cgi-bin/upsset.cgi,
36 /var/www/nut-cgi-bin/upsimage.cgi, /var/www/nut-cgi-bin/upsstats.cgi,
37 /var/www/nut-cgi-bin/upsset.cgi, /var/www/nut-cgi-bin/upsimage.cgi,
38 /var/www/nut-cgi-bin/upsstats.cgi
39
41 SELinux defines process types (domains) for each process running on the
42 system
43
44 You can see the context of a process using the -Z option to ps
45
46 Policy governs the access confined processes have to files. SELinux
47 httpd_nutups_cgi_script policy is very flexible allowing users to setup
48 their httpd_nutups_cgi_script processes in as secure a method as possi‐
49 ble.
50
51 The following process types are defined for httpd_nutups_cgi_script:
52
53 httpd_nutups_cgi_script_t
54
55 Note: semanage permissive -a httpd_nutups_cgi_script_t can be used to
56 make the process type httpd_nutups_cgi_script_t permissive. SELinux
57 does not deny access to permissive process types, but the AVC (SELinux
58 denials) messages are still generated.
59
60
62 SELinux policy is customizable based on least access required.
63 httpd_nutups_cgi_script policy is extremely flexible and has several
64 booleans that allow you to manipulate the policy and run
65 httpd_nutups_cgi_script with the tightest access possible.
66
67
68
69 If you want to allow all domains to use other domains file descriptors,
70 you must turn on the allow_domain_fd_use boolean. Enabled by default.
71
72 setsebool -P allow_domain_fd_use 1
73
74
75
76 If you want to allow sysadm to debug or ptrace all processes, you must
77 turn on the allow_ptrace boolean. Disabled by default.
78
79 setsebool -P allow_ptrace 1
80
81
82
83 If you want to allow system to run with NIS, you must turn on the
84 allow_ypbind boolean. Disabled by default.
85
86 setsebool -P allow_ypbind 1
87
88
89
90 If you want to allow all domains to have the kernel load modules, you
91 must turn on the domain_kernel_load_modules boolean. Disabled by
92 default.
93
94 setsebool -P domain_kernel_load_modules 1
95
96
97
98 If you want to allow all domains to execute in fips_mode, you must turn
99 on the fips_mode boolean. Enabled by default.
100
101 setsebool -P fips_mode 1
102
103
104
105 If you want to enable reading of urandom for all domains, you must turn
106 on the global_ssp boolean. Disabled by default.
107
108 setsebool -P global_ssp 1
109
110
111
112 If you want to allow httpd cgi support, you must turn on the
113 httpd_enable_cgi boolean. Enabled by default.
114
115 setsebool -P httpd_enable_cgi 1
116
117
118
119 If you want to allow unprivileged users to execute DDL statement, you
120 must turn on the sepgsql_enable_users_ddl boolean. Enabled by default.
121
122 setsebool -P sepgsql_enable_users_ddl 1
123
124
125
127 The SELinux process type httpd_nutups_cgi_script_t can manage files
128 labeled with the following file types. The paths listed are the
129 default paths for these file types. Note the processes UID still need
130 to have DAC permissions.
131
132 httpd_nutups_cgi_rw_content_t
133
134
135 initrc_tmp_t
136
137
138 mnt_t
139
140 /mnt(/[^/]*)
141 /mnt(/[^/]*)?
142 /rhev(/[^/]*)?
143 /media(/[^/]*)
144 /media(/[^/]*)?
145 /etc/rhgb(/.*)?
146 /media/.hal-.*
147 /net
148 /afs
149 /rhev
150 /misc
151
152 tmp_t
153
154 /tmp
155 /usr/tmp
156 /var/tmp
157 /tmp-inst
158 /var/tmp-inst
159 /var/tmp/vi.recover
160
161
163 SELinux requires files to have an extended attribute to define the file
164 type.
165
166 You can see the context of a file using the -Z option to ls
167
168 Policy governs the access confined processes have to these files.
169 SELinux httpd_nutups_cgi_script policy is very flexible allowing users
170 to setup their httpd_nutups_cgi_script processes in as secure a method
171 as possible.
172
173 The following file types are defined for httpd_nutups_cgi_script:
174
175
176
177 httpd_nutups_cgi_script_exec_t
178
179 - Set files with the httpd_nutups_cgi_script_exec_t type, if you want
180 to transition an executable to the httpd_nutups_cgi_script_t domain.
181
182
183 Paths:
184 /var/www/nut-cgi-bin/upsset.cgi, /var/www/nut-cgi-bin/upsim‐
185 age.cgi, /var/www/nut-cgi-bin/upsstats.cgi
186
187
188 Note: File context can be temporarily modified with the chcon command.
189 If you want to permanently change the file context you need to use the
190 semanage fcontext command. This will modify the SELinux labeling data‐
191 base. You will need to use restorecon to apply the labels.
192
193
195 semanage fcontext can also be used to manipulate default file context
196 mappings.
197
198 semanage permissive can also be used to manipulate whether or not a
199 process type is permissive.
200
201 semanage module can also be used to enable/disable/install/remove pol‐
202 icy modules.
203
204 semanage boolean can also be used to manipulate the booleans
205
206
207 system-config-selinux is a GUI tool available to customize SELinux pol‐
208 icy settings.
209
210
212 This manual page was auto-generated using sepolicy manpage .
213
214
216 selinux(8), httpd_nutups_cgi_script(8), semanage(8), restorecon(8),
217 chcon(1) , setsebool(8)
218
219
220
221httpd_nutups_cgi_script 15-06-03 httpd_nutups_cgi_script_selinux(8)