xref: /titanic_41/usr/src/cmd/cmd-inet/usr.sbin/login.xml (revision 9a0e82381c494d655823a54fc713a8c2a571131c)
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	</instance>
87
88	<!--
89	    RLOGIND - with Kerberos authentication
90	-->
91	<instance name='klogin' enabled='false' >
92		<exec_method
93			type='method'
94			name='inetd_start'
95			exec='/usr/sbin/in.rlogind -kc'
96			timeout_seconds='0'>
97			<method_context>
98				<method_credential user='root' group='root' />
99			</method_context>
100		</exec_method>
101
102		<exec_method
103			type='method'
104			name='inetd_disable'
105			exec=':kill'
106			timeout_seconds='0'>
107		</exec_method>
108
109		<property_group name='firewall_config' type='com.sun,fw_configuration'>
110			<propval name='policy' type='astring' value='use_global' />
111			<propval name='exception_list' type='astring' value='' />
112			<propval name='override_list' type='astring' value='' />
113			<propval name='value_authorization' type='astring'
114				value='solaris.smf.value.firewall.config' />
115		</property_group>
116
117		<!-- Only works over IPv4 at the moment -->
118		<property_group name='inetd' type='framework'>
119			<propval name='name' type='astring' value='klogin' />
120			<propval name='proto' type='astring' value='tcp' />
121		</property_group>
122	</instance>
123
124	<!--
125
126	    RLOGIND - with Kerberos authentication and encryption
127	-->
128	<instance name='eklogin' enabled='false' >
129		<exec_method
130			type='method'
131			name='inetd_start'
132			exec='/usr/sbin/in.rlogind -kcx'
133			timeout_seconds='0'>
134			<method_context>
135				<method_credential user='root' group='root' />
136			</method_context>
137		</exec_method>
138
139		<exec_method
140			type='method'
141			name='inetd_disable'
142			exec=':kill'
143			timeout_seconds='0'>
144		</exec_method>
145
146		<property_group name='firewall_config' type='com.sun,fw_configuration'>
147			<propval name='policy' type='astring' value='use_global' />
148			<propval name='exception_list' type='astring' value='' />
149			<propval name='override_list' type='astring' value='' />
150			<propval name='value_authorization' type='astring'
151				value='solaris.smf.value.firewall.config' />
152		</property_group>
153
154		<!-- Only works over IPv4 at the moment -->
155		<property_group name='inetd' type='framework'>
156			<propval name='name' type='astring' value='eklogin' />
157			<propval name='proto' type='astring' value='tcp' />
158		</property_group>
159	</instance>
160
161	<stability value='Unstable' />
162
163	<template>
164		<common_name>
165			<loctext xml:lang='C'>
166				remote login
167			</loctext>
168		</common_name>
169		<documentation>
170			<manpage title='in.rlogind' section='1M'
171			    manpath='/usr/share/man' />
172			<manpage title='rlogind' section='1M'
173			    manpath='/usr/share/man' />
174		</documentation>
175	</template>
176</service>
177
178
179</service_bundle>
180