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.rlogind.
35-->
36
37<service_bundle type='manifest' name='SUNWrcmdr:rlogin'>
38
39<service
40	name='network/login'
41	type='service'
42	version='1'>
43
44	<restarter>
45		<service_fmri value='svc:/network/inetd:default' />
46	</restarter>
47
48	<property_group name='inetd' type='framework'>
49		<stability value='Evolving' />
50		<propval name='endpoint_type' type='astring' value='stream' />
51		<propval name='wait' type='boolean' value='false' />
52		<propval name='isrpc' type='boolean' value='false' />
53	</property_group>
54
55	<!--
56	    RLOGIND - Good old rlogin
57	-->
58	<instance name='rlogin' enabled='false' >
59		<exec_method
60			type='method'
61			name='inetd_start'
62			exec='/usr/sbin/in.rlogind'
63			timeout_seconds='0'>
64			<method_context>
65				<method_credential user='root' group='root' />
66			</method_context>
67		</exec_method>
68
69		<exec_method
70			type='method'
71			name='inetd_disable'
72			exec=':kill'
73			timeout_seconds='0'>
74		</exec_method>
75
76		<property_group name='firewall_config' type='com.sun,fw_configuration'>
77			<propval name='policy' type='astring' value='use_global' />
78			<propval name='block_policy' type='astring'
79				value='use_global' />
80			<propval name='apply_to' type='astring' value='' />
81			<propval name='apply_to_6' type='astring' value='' />
82			<propval name='exceptions' type='astring' value='' />
83			<propval name='exceptions_6' type='astring' value='' />
84			<propval name='target' type='astring' value='' />
85			<propval name='target_6' type='astring' value='' />
86			<propval name='value_authorization' type='astring'
87				value='solaris.smf.value.firewall.config' />
88		</property_group>
89
90		<property_group name='inetd' type='framework'>
91			<propval name='name' type='astring' value='login' />
92			<propval name='proto' type='astring' value='tcp6' />
93		</property_group>
94
95		<template>
96			<common_name>
97				<loctext xml:lang='C'>
98					remote login
99				</loctext>
100			</common_name>
101		</template>
102	</instance>
103
104	<!--
105	    RLOGIND - with Kerberos authentication
106	-->
107	<instance name='klogin' enabled='false' >
108		<exec_method
109			type='method'
110			name='inetd_start'
111			exec='/usr/sbin/in.rlogind -kc'
112			timeout_seconds='0'>
113			<method_context>
114				<method_credential user='root' group='root' />
115			</method_context>
116		</exec_method>
117
118		<exec_method
119			type='method'
120			name='inetd_disable'
121			exec=':kill'
122			timeout_seconds='0'>
123		</exec_method>
124
125		<property_group name='firewall_config' type='com.sun,fw_configuration'>
126			<propval name='policy' type='astring' value='use_global' />
127			<propval name='block_policy' type='astring'
128				value='use_global' />
129			<propval name='apply_to' type='astring' value='' />
130			<propval name='exceptions' type='astring' value='' />
131			<propval name='target' type='astring' value='' />
132			<propval name='value_authorization' type='astring'
133				value='solaris.smf.value.firewall.config' />
134		</property_group>
135
136		<!-- Only works over IPv4 at the moment -->
137		<property_group name='inetd' type='framework'>
138			<propval name='name' type='astring' value='klogin' />
139			<propval name='proto' type='astring' value='tcp' />
140		</property_group>
141
142		<template>
143			<common_name>
144				<loctext xml:lang='C'>
145remote login with Kerberos authentication
146				</loctext>
147			</common_name>
148		</template>
149	</instance>
150
151	<!--
152
153	    RLOGIND - with Kerberos authentication and encryption
154	-->
155	<instance name='eklogin' enabled='false' >
156		<exec_method
157			type='method'
158			name='inetd_start'
159			exec='/usr/sbin/in.rlogind -kcx'
160			timeout_seconds='0'>
161			<method_context>
162				<method_credential user='root' group='root' />
163			</method_context>
164		</exec_method>
165
166		<exec_method
167			type='method'
168			name='inetd_disable'
169			exec=':kill'
170			timeout_seconds='0'>
171		</exec_method>
172
173		<property_group name='firewall_config' type='com.sun,fw_configuration'>
174			<propval name='policy' type='astring' value='use_global' />
175			<propval name='block_policy' type='astring'
176				value='use_global' />
177			<propval name='apply_to' type='astring' value='' />
178			<propval name='exceptions' type='astring' value='' />
179			<propval name='target' type='astring' value='' />
180			<propval name='value_authorization' type='astring'
181				value='solaris.smf.value.firewall.config' />
182		</property_group>
183
184		<!-- Only works over IPv4 at the moment -->
185		<property_group name='inetd' type='framework'>
186			<propval name='name' type='astring' value='eklogin' />
187			<propval name='proto' type='astring' value='tcp' />
188		</property_group>
189
190		<template>
191			<common_name>
192				<loctext xml:lang='C'>
193remote login with Kerberos authentication and encryption
194				</loctext>
195			</common_name>
196		</template>
197	</instance>
198
199	<stability value='Unstable' />
200
201	<template>
202		<common_name>
203			<loctext xml:lang='C'>
204				remote login
205			</loctext>
206		</common_name>
207		<documentation>
208			<manpage title='in.rlogind' section='8'
209			    manpath='/usr/share/man' />
210			<manpage title='rlogind' section='8'
211			    manpath='/usr/share/man' />
212		</documentation>
213	</template>
214</service>
215
216
217</service_bundle>
218