xref: /titanic_41/usr/src/cmd/cmd-inet/usr.sbin/login.xml (revision ada83f08084885463e1f362944377a12294a1fee)
17c478bd9Sstevel@tonic-gate<?xml version='1.0'?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
37c478bd9Sstevel@tonic-gate
47c478bd9Sstevel@tonic-gate<!--
5eb1a3463STruong Nguyen Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
67c478bd9Sstevel@tonic-gate Use is subject to license terms.
77c478bd9Sstevel@tonic-gate
87c478bd9Sstevel@tonic-gate CDDL HEADER START
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
11eb1a3463STruong Nguyen Common Development and Distribution License (the "License").
12eb1a3463STruong Nguyen You may not use this file except in compliance with the License.
137c478bd9Sstevel@tonic-gate
147c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
157c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
167c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
177c478bd9Sstevel@tonic-gate and limitations under the License.
187c478bd9Sstevel@tonic-gate
197c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
207c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
217c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
227c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
237c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
247c478bd9Sstevel@tonic-gate
257c478bd9Sstevel@tonic-gate CDDL HEADER END
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
287c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
297c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
307c478bd9Sstevel@tonic-gate	file.
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate	Service manifests for in.rlogind.
337c478bd9Sstevel@tonic-gate-->
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWrcmdr:rlogin'>
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate<service
387c478bd9Sstevel@tonic-gate	name='network/login'
397c478bd9Sstevel@tonic-gate	type='service'
407c478bd9Sstevel@tonic-gate	version='1'>
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate	<restarter>
437c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd:default' />
447c478bd9Sstevel@tonic-gate	</restarter>
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
477c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
487c478bd9Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='stream' />
497c478bd9Sstevel@tonic-gate		<propval name='wait' type='boolean' value='false' />
507c478bd9Sstevel@tonic-gate		<propval name='isrpc' type='boolean' value='false' />
517c478bd9Sstevel@tonic-gate	</property_group>
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate	<!--
547c478bd9Sstevel@tonic-gate	    RLOGIND - Good old rlogin
557c478bd9Sstevel@tonic-gate	-->
567c478bd9Sstevel@tonic-gate	<instance name='rlogin' enabled='false' >
577c478bd9Sstevel@tonic-gate		<exec_method
587c478bd9Sstevel@tonic-gate			type='method'
597c478bd9Sstevel@tonic-gate			name='inetd_start'
607c478bd9Sstevel@tonic-gate			exec='/usr/sbin/in.rlogind'
617c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
627c478bd9Sstevel@tonic-gate			<method_context>
637c478bd9Sstevel@tonic-gate				<method_credential user='root' group='root' />
647c478bd9Sstevel@tonic-gate			</method_context>
657c478bd9Sstevel@tonic-gate		</exec_method>
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gate		<exec_method
687c478bd9Sstevel@tonic-gate			type='method'
697c478bd9Sstevel@tonic-gate			name='inetd_disable'
707c478bd9Sstevel@tonic-gate			exec=':kill'
717c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
727c478bd9Sstevel@tonic-gate		</exec_method>
737c478bd9Sstevel@tonic-gate
74eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
75eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
76eb1a3463STruong Nguyen			<propval name='apply_to' type='astring' value='' />
77eb1a3463STruong Nguyen			<propval name='exceptions' type='astring' value='' />
78eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
79eb1a3463STruong Nguyen				value='solaris.smf.value.firewall.config' />
80eb1a3463STruong Nguyen		</property_group>
81eb1a3463STruong Nguyen
827c478bd9Sstevel@tonic-gate		<property_group name='inetd' type='framework'>
837c478bd9Sstevel@tonic-gate			<propval name='name' type='astring' value='login' />
847c478bd9Sstevel@tonic-gate			<propval name='proto' type='astring' value='tcp6' />
857c478bd9Sstevel@tonic-gate		</property_group>
86*ada83f08STruong Nguyen
87*ada83f08STruong Nguyen		<template>
88*ada83f08STruong Nguyen			<common_name>
89*ada83f08STruong Nguyen				<loctext xml:lang='C'>
90*ada83f08STruong Nguyen					remote login
91*ada83f08STruong Nguyen				</loctext>
92*ada83f08STruong Nguyen			</common_name>
93*ada83f08STruong Nguyen		</template>
947c478bd9Sstevel@tonic-gate	</instance>
957c478bd9Sstevel@tonic-gate
967c478bd9Sstevel@tonic-gate	<!--
977c478bd9Sstevel@tonic-gate	    RLOGIND - with Kerberos authentication
987c478bd9Sstevel@tonic-gate	-->
997c478bd9Sstevel@tonic-gate	<instance name='klogin' enabled='false' >
1007c478bd9Sstevel@tonic-gate		<exec_method
1017c478bd9Sstevel@tonic-gate			type='method'
1027c478bd9Sstevel@tonic-gate			name='inetd_start'
1037c478bd9Sstevel@tonic-gate			exec='/usr/sbin/in.rlogind -kc'
1047c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1057c478bd9Sstevel@tonic-gate			<method_context>
1067c478bd9Sstevel@tonic-gate				<method_credential user='root' group='root' />
1077c478bd9Sstevel@tonic-gate			</method_context>
1087c478bd9Sstevel@tonic-gate		</exec_method>
1097c478bd9Sstevel@tonic-gate
1107c478bd9Sstevel@tonic-gate		<exec_method
1117c478bd9Sstevel@tonic-gate			type='method'
1127c478bd9Sstevel@tonic-gate			name='inetd_disable'
1137c478bd9Sstevel@tonic-gate			exec=':kill'
1147c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1157c478bd9Sstevel@tonic-gate		</exec_method>
1167c478bd9Sstevel@tonic-gate
117eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
118eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
119eb1a3463STruong Nguyen			<propval name='exception_list' type='astring' value='' />
120eb1a3463STruong Nguyen			<propval name='override_list' type='astring' value='' />
121eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
122eb1a3463STruong Nguyen				value='solaris.smf.value.firewall.config' />
123eb1a3463STruong Nguyen		</property_group>
124eb1a3463STruong Nguyen
1257c478bd9Sstevel@tonic-gate		<!-- Only works over IPv4 at the moment -->
1267c478bd9Sstevel@tonic-gate		<property_group name='inetd' type='framework'>
1277c478bd9Sstevel@tonic-gate			<propval name='name' type='astring' value='klogin' />
1287c478bd9Sstevel@tonic-gate			<propval name='proto' type='astring' value='tcp' />
1297c478bd9Sstevel@tonic-gate		</property_group>
130*ada83f08STruong Nguyen
131*ada83f08STruong Nguyen		<template>
132*ada83f08STruong Nguyen			<common_name>
133*ada83f08STruong Nguyen				<loctext xml:lang='C'>
134*ada83f08STruong Nguyenremote login with Kerberos authentication
135*ada83f08STruong Nguyen				</loctext>
136*ada83f08STruong Nguyen			</common_name>
137*ada83f08STruong Nguyen		</template>
1387c478bd9Sstevel@tonic-gate	</instance>
1397c478bd9Sstevel@tonic-gate
1407c478bd9Sstevel@tonic-gate	<!--
1417c478bd9Sstevel@tonic-gate
1427c478bd9Sstevel@tonic-gate	    RLOGIND - with Kerberos authentication and encryption
1437c478bd9Sstevel@tonic-gate	-->
1447c478bd9Sstevel@tonic-gate	<instance name='eklogin' enabled='false' >
1457c478bd9Sstevel@tonic-gate		<exec_method
1467c478bd9Sstevel@tonic-gate			type='method'
1477c478bd9Sstevel@tonic-gate			name='inetd_start'
1487c478bd9Sstevel@tonic-gate			exec='/usr/sbin/in.rlogind -kcx'
1497c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1507c478bd9Sstevel@tonic-gate			<method_context>
1517c478bd9Sstevel@tonic-gate				<method_credential user='root' group='root' />
1527c478bd9Sstevel@tonic-gate			</method_context>
1537c478bd9Sstevel@tonic-gate		</exec_method>
1547c478bd9Sstevel@tonic-gate
1557c478bd9Sstevel@tonic-gate		<exec_method
1567c478bd9Sstevel@tonic-gate			type='method'
1577c478bd9Sstevel@tonic-gate			name='inetd_disable'
1587c478bd9Sstevel@tonic-gate			exec=':kill'
1597c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1607c478bd9Sstevel@tonic-gate		</exec_method>
1617c478bd9Sstevel@tonic-gate
162eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
163eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
164eb1a3463STruong Nguyen			<propval name='exception_list' type='astring' value='' />
165eb1a3463STruong Nguyen			<propval name='override_list' type='astring' value='' />
166eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
167eb1a3463STruong Nguyen				value='solaris.smf.value.firewall.config' />
168eb1a3463STruong Nguyen		</property_group>
169eb1a3463STruong Nguyen
1707c478bd9Sstevel@tonic-gate		<!-- Only works over IPv4 at the moment -->
1717c478bd9Sstevel@tonic-gate		<property_group name='inetd' type='framework'>
1727c478bd9Sstevel@tonic-gate			<propval name='name' type='astring' value='eklogin' />
1737c478bd9Sstevel@tonic-gate			<propval name='proto' type='astring' value='tcp' />
1747c478bd9Sstevel@tonic-gate		</property_group>
175*ada83f08STruong Nguyen
176*ada83f08STruong Nguyen		<template>
177*ada83f08STruong Nguyen			<common_name>
178*ada83f08STruong Nguyen				<loctext xml:lang='C'>
179*ada83f08STruong Nguyenremote login with Kerberos authentication and encryption
180*ada83f08STruong Nguyen				</loctext>
181*ada83f08STruong Nguyen			</common_name>
182*ada83f08STruong Nguyen		</template>
1837c478bd9Sstevel@tonic-gate	</instance>
1847c478bd9Sstevel@tonic-gate
1857c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
1867c478bd9Sstevel@tonic-gate
1877c478bd9Sstevel@tonic-gate	<template>
1887c478bd9Sstevel@tonic-gate		<common_name>
1897c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1907c478bd9Sstevel@tonic-gate				remote login
1917c478bd9Sstevel@tonic-gate			</loctext>
1927c478bd9Sstevel@tonic-gate		</common_name>
1937c478bd9Sstevel@tonic-gate		<documentation>
1947c478bd9Sstevel@tonic-gate			<manpage title='in.rlogind' section='1M'
1957c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
1967c478bd9Sstevel@tonic-gate			<manpage title='rlogind' section='1M'
1977c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
1987c478bd9Sstevel@tonic-gate		</documentation>
1997c478bd9Sstevel@tonic-gate	</template>
2007c478bd9Sstevel@tonic-gate</service>
2017c478bd9Sstevel@tonic-gate
2027c478bd9Sstevel@tonic-gate
2037c478bd9Sstevel@tonic-gate</service_bundle>
204