xref: /titanic_41/usr/src/cmd/cmd-inet/usr.sbin/login.xml (revision ba2e4443695ee6a6f420a35cd4fc3d3346d22932)
1<?xml version='1.0'?>
2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3
4<!--
5 Copyright 2005 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, Version 1.0 only
12 (the "License").  You may not use this file except in compliance
13 with the License.
14
15 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16 or http://www.opensolaris.org/os/licensing.
17 See the License for the specific language governing permissions
18 and limitations under the License.
19
20 When distributing Covered Code, include this CDDL HEADER in each
21 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
22 If applicable, add the following below this CDDL HEADER, with the
23 fields enclosed by brackets "[]" replaced with your own identifying
24 information: Portions Copyright [yyyy] [name of copyright owner]
25
26 CDDL HEADER END
27
28	ident	"%Z%%M%	%I%	%E% SMI"
29
30	NOTE:  This service manifest is not editable; its contents will
31	be overwritten by package or patch operations, including
32	operating system upgrade.  Make customizations in a different
33	file.
34
35	Service manifests for in.rlogind.
36-->
37
38<service_bundle type='manifest' name='SUNWrcmdr:rlogin'>
39
40<service
41	name='network/login'
42	type='service'
43	version='1'>
44
45	<restarter>
46		<service_fmri value='svc:/network/inetd:default' />
47	</restarter>
48
49	<property_group name='inetd' type='framework'>
50		<stability value='Evolving' />
51		<propval name='endpoint_type' type='astring' value='stream' />
52		<propval name='wait' type='boolean' value='false' />
53		<propval name='isrpc' type='boolean' value='false' />
54	</property_group>
55
56	<!--
57	    RLOGIND - Good old rlogin
58	-->
59	<instance name='rlogin' enabled='false' >
60		<exec_method
61			type='method'
62			name='inetd_start'
63			exec='/usr/sbin/in.rlogind'
64			timeout_seconds='0'>
65			<method_context>
66				<method_credential user='root' group='root' />
67			</method_context>
68		</exec_method>
69
70		<exec_method
71			type='method'
72			name='inetd_disable'
73			exec=':kill'
74			timeout_seconds='0'>
75		</exec_method>
76
77		<property_group name='inetd' type='framework'>
78			<propval name='name' type='astring' value='login' />
79			<propval name='proto' type='astring' value='tcp6' />
80		</property_group>
81	</instance>
82
83	<!--
84	    RLOGIND - with Kerberos authentication
85	-->
86	<instance name='klogin' enabled='false' >
87		<exec_method
88			type='method'
89			name='inetd_start'
90			exec='/usr/sbin/in.rlogind -kc'
91			timeout_seconds='0'>
92			<method_context>
93				<method_credential user='root' group='root' />
94			</method_context>
95		</exec_method>
96
97		<exec_method
98			type='method'
99			name='inetd_disable'
100			exec=':kill'
101			timeout_seconds='0'>
102		</exec_method>
103
104		<!-- Only works over IPv4 at the moment -->
105		<property_group name='inetd' type='framework'>
106			<propval name='name' type='astring' value='klogin' />
107			<propval name='proto' type='astring' value='tcp' />
108		</property_group>
109	</instance>
110
111	<!--
112
113	    RLOGIND - with Kerberos authentication and encryption
114	-->
115	<instance name='eklogin' enabled='false' >
116		<exec_method
117			type='method'
118			name='inetd_start'
119			exec='/usr/sbin/in.rlogind -kcx'
120			timeout_seconds='0'>
121			<method_context>
122				<method_credential user='root' group='root' />
123			</method_context>
124		</exec_method>
125
126		<exec_method
127			type='method'
128			name='inetd_disable'
129			exec=':kill'
130			timeout_seconds='0'>
131		</exec_method>
132
133		<!-- Only works over IPv4 at the moment -->
134		<property_group name='inetd' type='framework'>
135			<propval name='name' type='astring' value='eklogin' />
136			<propval name='proto' type='astring' value='tcp' />
137		</property_group>
138	</instance>
139
140	<stability value='Unstable' />
141
142	<template>
143		<common_name>
144			<loctext xml:lang='C'>
145				remote login
146			</loctext>
147		</common_name>
148		<documentation>
149			<manpage title='in.rlogind' section='1M'
150			    manpath='/usr/share/man' />
151			<manpage title='rlogind' section='1M'
152			    manpath='/usr/share/man' />
153		</documentation>
154	</template>
155</service>
156
157
158</service_bundle>
159