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
87ddce999SHans Rosenfeld Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
97ddce999SHans Rosenfeld
107c478bd9Sstevel@tonic-gate CDDL HEADER START
117c478bd9Sstevel@tonic-gate
127c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
13eb1a3463STruong Nguyen Common Development and Distribution License (the "License").
14eb1a3463STruong Nguyen You may not use this file except in compliance with the License.
157c478bd9Sstevel@tonic-gate
167c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
177c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
187c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
197c478bd9Sstevel@tonic-gate and limitations under the License.
207c478bd9Sstevel@tonic-gate
217c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
227c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
237c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
247c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
257c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate CDDL HEADER END
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
307c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
317c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
327c478bd9Sstevel@tonic-gate	file.
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate	Service manifests for in.rlogind.
357c478bd9Sstevel@tonic-gate-->
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWrcmdr:rlogin'>
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate<service
407c478bd9Sstevel@tonic-gate	name='network/login'
417c478bd9Sstevel@tonic-gate	type='service'
427c478bd9Sstevel@tonic-gate	version='1'>
437c478bd9Sstevel@tonic-gate
447c478bd9Sstevel@tonic-gate	<restarter>
457c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd:default' />
467c478bd9Sstevel@tonic-gate	</restarter>
477c478bd9Sstevel@tonic-gate
48*bbf21555SRichard Lowe	<property_group name='inetd' type='framework'>
497c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
507c478bd9Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='stream' />
517c478bd9Sstevel@tonic-gate		<propval name='wait' type='boolean' value='false' />
527c478bd9Sstevel@tonic-gate		<propval name='isrpc' type='boolean' value='false' />
537c478bd9Sstevel@tonic-gate	</property_group>
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate	<!--
567c478bd9Sstevel@tonic-gate	    RLOGIND - Good old rlogin
577c478bd9Sstevel@tonic-gate	-->
587c478bd9Sstevel@tonic-gate	<instance name='rlogin' enabled='false' >
597c478bd9Sstevel@tonic-gate		<exec_method
607c478bd9Sstevel@tonic-gate			type='method'
617c478bd9Sstevel@tonic-gate			name='inetd_start'
627c478bd9Sstevel@tonic-gate			exec='/usr/sbin/in.rlogind'
637c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
647c478bd9Sstevel@tonic-gate			<method_context>
657c478bd9Sstevel@tonic-gate				<method_credential user='root' group='root' />
667c478bd9Sstevel@tonic-gate			</method_context>
677c478bd9Sstevel@tonic-gate		</exec_method>
687c478bd9Sstevel@tonic-gate
697c478bd9Sstevel@tonic-gate		<exec_method
707c478bd9Sstevel@tonic-gate			type='method'
717c478bd9Sstevel@tonic-gate			name='inetd_disable'
727c478bd9Sstevel@tonic-gate			exec=':kill'
737c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
747c478bd9Sstevel@tonic-gate		</exec_method>
757c478bd9Sstevel@tonic-gate
76eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
77eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
787ddce999SHans Rosenfeld			<propval name='block_policy' type='astring'
797ddce999SHans Rosenfeld				value='use_global' />
80eb1a3463STruong Nguyen			<propval name='apply_to' type='astring' value='' />
817ddce999SHans Rosenfeld			<propval name='apply_to_6' type='astring' value='' />
82eb1a3463STruong Nguyen			<propval name='exceptions' type='astring' value='' />
837ddce999SHans Rosenfeld			<propval name='exceptions_6' type='astring' value='' />
847ddce999SHans Rosenfeld			<propval name='target' type='astring' value='' />
857ddce999SHans Rosenfeld			<propval name='target_6' type='astring' value='' />
86eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
87eb1a3463STruong Nguyen				value='solaris.smf.value.firewall.config' />
88eb1a3463STruong Nguyen		</property_group>
89eb1a3463STruong Nguyen
90*bbf21555SRichard Lowe		<property_group name='inetd' type='framework'>
917c478bd9Sstevel@tonic-gate			<propval name='name' type='astring' value='login' />
927c478bd9Sstevel@tonic-gate			<propval name='proto' type='astring' value='tcp6' />
937c478bd9Sstevel@tonic-gate		</property_group>
94ada83f08STruong Nguyen
95ada83f08STruong Nguyen		<template>
96ada83f08STruong Nguyen			<common_name>
97ada83f08STruong Nguyen				<loctext xml:lang='C'>
98ada83f08STruong Nguyen					remote login
99ada83f08STruong Nguyen				</loctext>
100ada83f08STruong Nguyen			</common_name>
101ada83f08STruong Nguyen		</template>
1027c478bd9Sstevel@tonic-gate	</instance>
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gate	<!--
1057c478bd9Sstevel@tonic-gate	    RLOGIND - with Kerberos authentication
1067c478bd9Sstevel@tonic-gate	-->
1077c478bd9Sstevel@tonic-gate	<instance name='klogin' enabled='false' >
1087c478bd9Sstevel@tonic-gate		<exec_method
1097c478bd9Sstevel@tonic-gate			type='method'
1107c478bd9Sstevel@tonic-gate			name='inetd_start'
1117c478bd9Sstevel@tonic-gate			exec='/usr/sbin/in.rlogind -kc'
1127c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1137c478bd9Sstevel@tonic-gate			<method_context>
1147c478bd9Sstevel@tonic-gate				<method_credential user='root' group='root' />
1157c478bd9Sstevel@tonic-gate			</method_context>
1167c478bd9Sstevel@tonic-gate		</exec_method>
1177c478bd9Sstevel@tonic-gate
1187c478bd9Sstevel@tonic-gate		<exec_method
1197c478bd9Sstevel@tonic-gate			type='method'
1207c478bd9Sstevel@tonic-gate			name='inetd_disable'
1217c478bd9Sstevel@tonic-gate			exec=':kill'
1227c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1237c478bd9Sstevel@tonic-gate		</exec_method>
1247c478bd9Sstevel@tonic-gate
125eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
126eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
1277ddce999SHans Rosenfeld			<propval name='block_policy' type='astring'
1287ddce999SHans Rosenfeld				value='use_global' />
1297ddce999SHans Rosenfeld			<propval name='apply_to' type='astring' value='' />
1307ddce999SHans Rosenfeld			<propval name='exceptions' type='astring' value='' />
1317ddce999SHans Rosenfeld			<propval name='target' type='astring' value='' />
132eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
133eb1a3463STruong Nguyen				value='solaris.smf.value.firewall.config' />
134eb1a3463STruong Nguyen		</property_group>
135eb1a3463STruong Nguyen
1367c478bd9Sstevel@tonic-gate		<!-- Only works over IPv4 at the moment -->
137*bbf21555SRichard Lowe		<property_group name='inetd' type='framework'>
1387c478bd9Sstevel@tonic-gate			<propval name='name' type='astring' value='klogin' />
1397c478bd9Sstevel@tonic-gate			<propval name='proto' type='astring' value='tcp' />
1407c478bd9Sstevel@tonic-gate		</property_group>
141ada83f08STruong Nguyen
142ada83f08STruong Nguyen		<template>
143ada83f08STruong Nguyen			<common_name>
144ada83f08STruong Nguyen				<loctext xml:lang='C'>
145ada83f08STruong Nguyenremote login with Kerberos authentication
146ada83f08STruong Nguyen				</loctext>
147ada83f08STruong Nguyen			</common_name>
148ada83f08STruong Nguyen		</template>
1497c478bd9Sstevel@tonic-gate	</instance>
1507c478bd9Sstevel@tonic-gate
1517c478bd9Sstevel@tonic-gate	<!--
1527c478bd9Sstevel@tonic-gate
1537c478bd9Sstevel@tonic-gate	    RLOGIND - with Kerberos authentication and encryption
1547c478bd9Sstevel@tonic-gate	-->
1557c478bd9Sstevel@tonic-gate	<instance name='eklogin' enabled='false' >
1567c478bd9Sstevel@tonic-gate		<exec_method
1577c478bd9Sstevel@tonic-gate			type='method'
1587c478bd9Sstevel@tonic-gate			name='inetd_start'
1597c478bd9Sstevel@tonic-gate			exec='/usr/sbin/in.rlogind -kcx'
1607c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1617c478bd9Sstevel@tonic-gate			<method_context>
1627c478bd9Sstevel@tonic-gate				<method_credential user='root' group='root' />
1637c478bd9Sstevel@tonic-gate			</method_context>
1647c478bd9Sstevel@tonic-gate		</exec_method>
1657c478bd9Sstevel@tonic-gate
1667c478bd9Sstevel@tonic-gate		<exec_method
1677c478bd9Sstevel@tonic-gate			type='method'
1687c478bd9Sstevel@tonic-gate			name='inetd_disable'
1697c478bd9Sstevel@tonic-gate			exec=':kill'
1707c478bd9Sstevel@tonic-gate			timeout_seconds='0'>
1717c478bd9Sstevel@tonic-gate		</exec_method>
1727c478bd9Sstevel@tonic-gate
173eb1a3463STruong Nguyen		<property_group name='firewall_config' type='com.sun,fw_configuration'>
174eb1a3463STruong Nguyen			<propval name='policy' type='astring' value='use_global' />
1757ddce999SHans Rosenfeld			<propval name='block_policy' type='astring'
1767ddce999SHans Rosenfeld				value='use_global' />
1777ddce999SHans Rosenfeld			<propval name='apply_to' type='astring' value='' />
1787ddce999SHans Rosenfeld			<propval name='exceptions' type='astring' value='' />
1797ddce999SHans Rosenfeld			<propval name='target' type='astring' value='' />
180eb1a3463STruong Nguyen			<propval name='value_authorization' type='astring'
181eb1a3463STruong Nguyen				value='solaris.smf.value.firewall.config' />
182eb1a3463STruong Nguyen		</property_group>
183eb1a3463STruong Nguyen
1847c478bd9Sstevel@tonic-gate		<!-- Only works over IPv4 at the moment -->
185*bbf21555SRichard Lowe		<property_group name='inetd' type='framework'>
1867c478bd9Sstevel@tonic-gate			<propval name='name' type='astring' value='eklogin' />
1877c478bd9Sstevel@tonic-gate			<propval name='proto' type='astring' value='tcp' />
1887c478bd9Sstevel@tonic-gate		</property_group>
189ada83f08STruong Nguyen
190ada83f08STruong Nguyen		<template>
191ada83f08STruong Nguyen			<common_name>
192ada83f08STruong Nguyen				<loctext xml:lang='C'>
193ada83f08STruong Nguyenremote login with Kerberos authentication and encryption
194ada83f08STruong Nguyen				</loctext>
195ada83f08STruong Nguyen			</common_name>
196ada83f08STruong Nguyen		</template>
1977c478bd9Sstevel@tonic-gate	</instance>
1987c478bd9Sstevel@tonic-gate
1997c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
2007c478bd9Sstevel@tonic-gate
2017c478bd9Sstevel@tonic-gate	<template>
2027c478bd9Sstevel@tonic-gate		<common_name>
2037c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
2047c478bd9Sstevel@tonic-gate				remote login
2057c478bd9Sstevel@tonic-gate			</loctext>
2067c478bd9Sstevel@tonic-gate		</common_name>
2077c478bd9Sstevel@tonic-gate		<documentation>
208*bbf21555SRichard Lowe			<manpage title='in.rlogind' section='8'
2097c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
210*bbf21555SRichard Lowe			<manpage title='rlogind' section='8'
2117c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
2127c478bd9Sstevel@tonic-gate		</documentation>
2137c478bd9Sstevel@tonic-gate	</template>
2147c478bd9Sstevel@tonic-gate</service>
2157c478bd9Sstevel@tonic-gate
2167c478bd9Sstevel@tonic-gate
2177c478bd9Sstevel@tonic-gate</service_bundle>
218