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