xref: /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/rexec.xml (revision 4eaa471005973e11a6110b69fe990530b3b95a38)
1<?xml version='1.0'?>
2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3
4<!--
5 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
6 Use is subject to license terms.
7
8 CDDL HEADER START
9
10 The contents of this file are subject to the terms of the
11 Common Development and Distribution License (the "License").
12 You may not use this file except in compliance with the License.
13
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
18
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
24
25 CDDL HEADER END
26
27	NOTE:  This service manifest is not editable; its contents will
28	be overwritten by package or patch operations, including
29	operating system upgrade.  Make customizations in a different
30	file.
31
32	Service manifests for in.rexecd.
33-->
34
35<service_bundle type='manifest' name='SUNWrcmdr:rexec'>
36
37<service
38	name='network/rexec'
39	type='service'
40	version='1'>
41
42	<create_default_instance enabled='false' />
43
44	<restarter>
45		<service_fmri value='svc:/network/inetd:default' />
46	</restarter>
47
48	<exec_method
49	    type='method'
50	    name='inetd_start'
51	    exec='/usr/sbin/in.rexecd'
52	    timeout_seconds='0'>
53	    <method_context>
54		<method_credential user='root' group='root' />
55	    </method_context>
56	</exec_method>
57
58	<exec_method
59	    type='method'
60	    name='inetd_disable'
61	    exec=':kill'
62	    timeout_seconds='0'>
63	</exec_method>
64
65	<!--
66	    The proto setting here of both tcp and tcp6only is required in order
67	    to prevent breaking applications which assume that the socket they
68	    are handed by rexec is of the AF_INET family.
69	-->
70	<property_group name='inetd' type='framework'>
71		<stability value='Evolving' />
72		<propval name='name' type='astring' value='exec' />
73		<propval name='endpoint_type' type='astring' value='stream' />
74		<propval name='wait' type='boolean' value='false' />
75		<propval name='isrpc' type='boolean' value='false' />
76		<property name='proto' type='astring' override='true'>
77			<astring_list>
78				<value_node value='tcp'/>
79				<value_node value='tcp6only'/>
80			</astring_list>
81		</property>
82	</property_group>
83
84	<property_group name='firewall_config' type='com.sun,fw_configuration'>
85		<propval name='policy' type='astring' value='use_global' />
86		<propval name='apply_to' type='astring' value='' />
87		<propval name='exceptions' type='astring' value='' />
88		<propval name='value_authorization' type='astring'
89			value='solaris.smf.value.firewall.config' />
90	</property_group>
91
92	<stability value='Unstable' />
93
94	<template>
95		<common_name>
96			<loctext xml:lang='C'>
97			rexec
98			</loctext>
99		</common_name>
100		<documentation>
101			<manpage title='in.rexecd' section='1M'
102				manpath='/usr/share/man' />
103		</documentation>
104	</template>
105</service>
106
107</service_bundle>
108