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