xref: /titanic_44/usr/src/cmd/svc/profile/generic_limited_net.xml (revision 0db3240d392634cfff2f95fb6da34b56b8dc574f)
1<?xml version='1.0'?>
2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3<!--
4    CDDL HEADER START
5
6    The contents of this file are subject to the terms of the
7    Common Development and Distribution License (the "License").
8    You may not use this file except in compliance with the License.
9
10    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11    or http://www.opensolaris.org/os/licensing.
12    See the License for the specific language governing permissions
13    and limitations under the License.
14
15    When distributing Covered Code, include this CDDL HEADER in each
16    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17    If applicable, add the following below this CDDL HEADER, with the
18    fields enclosed by brackets "[]" replaced with your own identifying
19    information: Portions Copyright [yyyy] [name of copyright owner]
20
21    CDDL HEADER END
22
23    Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
24    Use is subject to license terms.
25
26    The purpose of the limited_net profile is to provide a set of
27    active services that allow one to connect to the machine via ssh
28    (requires sshd). The services which are deactivated here are those
29    that are at odds with this goal. Those which are activated are
30    explicit requirements for the goal's satisfaction.
31
32    NOTE:  Service profiles delivered by this package are not editable,
33    and their contents will be overwritten by package or patch
34    operations, including operating system upgrade.  Make customizations
35    in a distinct file.  The paths, /etc/svc/profile/site.xml and
36    /var/svc/profile/site.xml, are distinguished locations for site-specific
37    service profile, treated otherwise equivalently to this file.
38-->
39<service_bundle type='profile' name='generic_limited_net'
40	 xmlns:xi='http://www.w3.org/2003/XInclude' >
41  <!--
42      Include name service profile, as set by system id tools.
43  -->
44  <xi:include href='file:/etc/svc/profile/name_service.xml' />
45
46  <!--
47      svc.startd(1M) services
48  -->
49  <service name='system/coreadm' version='1' type='service'>
50    <instance name='default' enabled='true'/>
51  </service>
52  <service name='system/cron' version='1' type='service'>
53    <instance name='default' enabled='true'/>
54  </service>
55  <service name='system/cryptosvc' version='1' type='service'>
56    <instance name='default' enabled='true'/>
57  </service>
58  <service name='system/dbus' version='1' type='service'>
59    <instance name='default' enabled='true'/>
60  </service>
61  <service name='system/extended-accounting' version='1' type='service'>
62    <instance name='flow'    enabled='false'/>
63    <instance name='process' enabled='false'/>
64    <instance name='task'    enabled='false'/>
65    <instance name='net'    enabled='false'/>
66  </service>
67  <service name='system/hal' version='1' type='service'>
68    <instance name='default' enabled='true'/>
69  </service>
70  <service name='system/identity' version='1' type='service'>
71    <instance name='domain' enabled='true'/>
72  </service>
73  <service name='system/intrd' version='1' type='service'>
74    <instance name='default' enabled='true'/>
75  </service>
76  <service name='system/keymap' version='1' type='service'>
77    <instance name='default' enabled='true'/>
78  </service>
79  <service name='system/picl' version='1' type='service'>
80    <instance name='default' enabled='true'/>
81  </service>
82  <service name='system/sac' version='1' type='service'>
83    <instance name='default' enabled='true'/>
84  </service>
85  <service name='system/scheduler' version='1' type='service'>
86    <instance name='default' enabled='true'/>
87  </service>
88  <service name='system/system-log' version='1' type='service'>
89    <instance name='default' enabled='true'/>
90  </service>
91  <service name='system/utmp' version='1' type='service'>
92    <instance name='default' enabled='true'/>
93  </service>
94  <service name='system/zones' version='1' type='service'>
95    <instance name='default' enabled='true'/>
96  </service>
97  <service name='network/rpc/bind' version='1' type='service'>
98    <instance name='default' enabled='true'/>
99  </service>
100  <service name='system/name-service-cache' version='1' type='service'>
101    <instance name='default' enabled='true'/>
102  </service>
103  <service name='network/nfs/status' version='1' type='service'>
104    <instance name='default' enabled='false'/>
105  </service>
106  <service name='network/nfs/nlockmgr' version='1' type='service'>
107    <instance name='default' enabled='false'/>
108  </service>
109  <service name='network/nfs/client' version='1' type='service'>
110    <instance name='default' enabled='false'/>
111  </service>
112  <service name='network/nfs/server' version='1' type='service'>
113    <instance name='default' enabled='false'/>
114  </service>
115  <service name='network/nfs/rquota' version='1' type='service'>
116    <instance name='default' enabled='false'/>
117  </service>
118  <service name='network/nfs/cbd' version='1' type='service'>
119    <instance name='default' enabled='false'/>
120  </service>
121  <service name='network/nfs/mapid' version='1' type='service'>
122    <instance name='default' enabled='false'/>
123  </service>
124  <service name='network/smb/client' version='1' type='service'>
125    <instance name='default' enabled='false'/>
126  </service>
127
128  <service name='network/ssh' version='1' type='service'>
129    <instance name='default' enabled='true'/>
130  </service>
131  <service name='network/smtp' version='1' type='service'>
132    <instance name='sendmail' enabled='true'/>
133  </service>
134  <service name='network/sendmail-client' version='1' type='service'>
135    <instance name='default' enabled='true'/>
136  </service>
137  <service name='network/inetd' version='1' type='restarter'>
138    <instance name='default' enabled='true'/>
139  </service>
140  <service name='system/filesystem/autofs' version='1' type='service'>
141    <instance name='default' enabled='true'/>
142  </service>
143  <service name='system/filesystem/rmvolmgr' version='1' type='service'>
144    <instance name='default' enabled='true'/>
145  </service>
146  <service name='system/power' version='1' type='service'>
147    <instance name='default' enabled='true'/>
148  </service>
149
150  <service name='network/dns/multicast' version='1' type='service'>
151    <instance name='default' enabled='false'/>
152  </service>
153  <service name='network/dhcp-server' version='1' type='service'>
154    <instance name='default' enabled='false' />
155  </service>
156  <service name='network/ntp' version='1' type='service'>
157    <instance name='default' enabled='false' />
158  </service>
159  <service name='network/rarp' version='1' type='service'>
160    <instance name='default' enabled='false' />
161  </service>
162  <service name='network/slp' version='1' type='service'>
163    <instance name='default' enabled='false' />
164  </service>
165  <service name='network/security/kadmin' version='1' type='service'>
166    <instance name='default' enabled='false' />
167  </service>
168  <service name='network/security/krb5_prop' version='1' type='service'>
169    <instance name='default' enabled='false' />
170  </service>
171  <service name='network/security/krb5kdc' version='1' type='service'>
172    <instance name='default' enabled='false' />
173  </service>
174
175  <service name='application/management/net-snmp' version='1' type='service'>
176    <instance name='default' enabled='false' />
177  </service>
178  <service name='application/management/seaport' version='1' type='service'>
179    <instance name='default' enabled='false' />
180  </service>
181  <service name='application/management/snmpdx' version='1' type='service'>
182    <instance name='default' enabled='false' />
183  </service>
184  <service name='application/management/wbem' version='1' type='service'>
185    <instance name='default' enabled='true' />
186  </service>
187  <service name='application/print/ipp-listener' version='1' type='service'>
188    <instance name='default' enabled='false' />
189  </service>
190  <service name='application/print/ppd-cache-update' version='1' type='service'>
191    <instance name='default' enabled='true' />
192  </service>
193  <service name='application/print/rfc1179' version='1' type='service'>
194    <instance name='default' enabled='false' />
195  </service>
196  <service name='application/cups/in-lpd' version='1' type='service'>
197    <instance name='default' enabled='false' />
198  </service>
199  <service name='application/stosreg' version='1' type='service'>
200    <instance name='default' enabled='true' />
201  </service>
202
203  <!--
204	default inetd(1M) services
205  -->
206  <service name='network/finger' version='1' type='service'>
207    <instance name='default' enabled='false'/>
208  </service>
209  <service name='network/ftp' version='1' type='service'>
210    <instance name='default' enabled='false'/>
211  </service>
212  <service name='network/login' version='1' type='service'>
213    <instance name='rlogin'  enabled='false'/>
214    <instance name='klogin'  enabled='false'/>
215    <instance name='eklogin' enabled='false'/>
216  </service>
217  <service name='network/shell' version='1' type='service'>
218    <instance name='default' enabled='false'/>
219    <instance name='kshell'  enabled='false'/>
220  </service>
221  <service name='network/telnet' version='1' type='service'>
222    <instance name='default' enabled='false'/>
223  </service>
224
225  <!--
226	non-default inetd(1M) services
227  -->
228  <service name='network/uucp' version='1' type='service'>
229    <instance name='default' enabled='false'/>
230  </service>
231  <service name='network/chargen' version='1' type='service'>
232    <instance name='stream' enabled='false'/>
233    <instance name='dgram' enabled='false'/>
234  </service>
235  <service name='network/daytime' version='1' type='service'>
236    <instance name='stream' enabled='false'/>
237    <instance name='dgram' enabled='false'/>
238  </service>
239  <service name='network/discard' version='1' type='service'>
240    <instance name='stream' enabled='false'/>
241    <instance name='dgram' enabled='false'/>
242  </service>
243  <service name='network/echo' version='1' type='service'>
244    <instance name='stream' enabled='false'/>
245    <instance name='dgram' enabled='false'/>
246  </service>
247  <service name='network/time' version='1' type='service'>
248    <instance name='stream' enabled='false'/>
249    <instance name='dgram' enabled='false'/>
250  </service>
251  <service name='network/comsat' version='1' type='service'>
252    <instance name='default' enabled='false'/>
253  </service>
254  <service name='network/rexec' version='1' type='service'>
255    <instance name='default' enabled='false'/>
256  </service>
257  <service name='network/talk' version='1' type='service'>
258    <instance name='default' enabled='false'/>
259  </service>
260  <service name='network/stdiscover' version='1' type='service'>
261    <instance name='default' enabled='false'/>
262  </service>
263  <service name='network/stlisten' version='1' type='service'>
264    <instance name='default' enabled='false'/>
265  </service>
266
267  <!--
268	default inetd(1M) RPC services enabled
269  -->
270  <service name='network/rpc/gss' version='1' type='service'>
271    <instance name='default' enabled='true'/>
272  </service>
273  <service name='network/rpc/mdcomm' version='1' type='service'>
274    <instance name='default' enabled='false'/>
275  </service>
276  <service name='network/rpc/smserver' version='1' type='service'>
277    <instance name='default' enabled='true'/>
278  </service>
279  <service name='network/security/ktkt_warn' version='1' type='service'>
280    <instance name='default' enabled='true'/>
281  </service>
282
283  <!--
284	default inetd(1M) RPC services disabled
285  -->
286  <service name='network/rpc/rstat' version='1' type='service'>
287    <instance name='default' enabled='false'/>
288  </service>
289  <service name='network/rpc/rusers' version='1' type='service'>
290    <instance name='default' enabled='false'/>
291  </service>
292  <service name='network/rpc/meta' version='1' type='service'>
293    <instance name='default' enabled='false'/>
294  </service>
295  <service name='network/rpc/metamed' version='1' type='service'>
296    <instance name='default' enabled='false'/>
297  </service>
298  <service name='network/rpc/metamh' version='1' type='service'>
299    <instance name='default' enabled='false'/>
300  </service>
301
302  <!--
303	non-default inetd(1M) RPC services disabled
304  -->
305  <service name='network/rpc/rex' version='1' type='service'>
306    <instance name='default' enabled='false'/>
307  </service>
308  <service name='network/rpc/spray' version='1' type='service'>
309    <instance name='default' enabled='false'/>
310  </service>
311  <service name='network/rpc/wall' version='1' type='service'>
312    <instance name='default' enabled='false'/>
313  </service>
314
315  <!--
316      Disable Avahi mDNS bridge service
317  -->
318  <service name='system/avahi-bridge-dsd' version='1' type='service'>
319    <instance name='default' enabled='false'/>
320  </service>
321
322  <!--
323      Enable CDE/ToolTalk/GDM services.
324  -->
325  <service name='network/rpc/cde-ttdbserver' version='1' type='service'>
326    <instance name='tcp' enabled='true' />
327  </service>
328  <service name='application/graphical-login/gdm' version='1'
329    type='service'>
330    <instance name='default' enabled='true' />
331  </service>
332  <service name='network/rpc/cde-calendar-manager' version='1' type='service'>
333    <instance name='default' enabled='true'/>
334  </service>
335
336  <!--
337      Disable X11 services.
338  -->
339  <service name='application/x11/xfs' version='1' type='service'>
340    <instance name='default' enabled='false'/>
341  </service>
342
343  <!--
344      Enable VNC config service for xVM
345  -->
346  <service name='system/xvm/vnc-config' version='1' type='service'>
347     <instance name='default' enabled='true'/>
348  </service>
349
350  <service name='system/xvm/ipagent' version='1' type='service'>
351     <instance name='default' enabled='true'/>
352  </service>
353
354</service_bundle>
355