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 8*7ddce999SHans Rosenfeld Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> 9*7ddce999SHans 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.rshd. 357c478bd9Sstevel@tonic-gate--> 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWrcmdr:rsh'> 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gate<service 407c478bd9Sstevel@tonic-gate name='network/shell' 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 487c478bd9Sstevel@tonic-gate <dependency 497c478bd9Sstevel@tonic-gate name='loopback' 507c478bd9Sstevel@tonic-gate grouping='require_any' 517c478bd9Sstevel@tonic-gate restart_on='error' 527c478bd9Sstevel@tonic-gate type='service'> 537c478bd9Sstevel@tonic-gate <service_fmri value='svc:/network/loopback' /> 547c478bd9Sstevel@tonic-gate </dependency> 557c478bd9Sstevel@tonic-gate 567c478bd9Sstevel@tonic-gate <dependency 577c478bd9Sstevel@tonic-gate name='network' 587c478bd9Sstevel@tonic-gate grouping='optional_all' 597c478bd9Sstevel@tonic-gate restart_on='error' 607c478bd9Sstevel@tonic-gate type='service'> 617c478bd9Sstevel@tonic-gate <service_fmri value='svc:/milestone/network' /> 627c478bd9Sstevel@tonic-gate </dependency> 637c478bd9Sstevel@tonic-gate 647c478bd9Sstevel@tonic-gate <!-- 657c478bd9Sstevel@tonic-gate The proto setting here of both tcp and tcp6only is required in order 667c478bd9Sstevel@tonic-gate to prevent breaking applications which assume that the socket they 677c478bd9Sstevel@tonic-gate are handed by rsh is of the AF_INET family. 687c478bd9Sstevel@tonic-gate --> 697c478bd9Sstevel@tonic-gate <property_group name='inetd' type='framework'> 707c478bd9Sstevel@tonic-gate <stability value='Evolving' /> 717c478bd9Sstevel@tonic-gate <propval name='name' type='astring' value='shell' /> 727c478bd9Sstevel@tonic-gate <propval name='endpoint_type' type='astring' value='stream' /> 737c478bd9Sstevel@tonic-gate <propval name='wait' type='boolean' value='false' /> 747c478bd9Sstevel@tonic-gate <propval name='isrpc' type='boolean' value='false' /> 757c478bd9Sstevel@tonic-gate <property name='proto' type='astring' override='true'> 767c478bd9Sstevel@tonic-gate <astring_list> 777c478bd9Sstevel@tonic-gate <value_node value='tcp'/> 787c478bd9Sstevel@tonic-gate <value_node value='tcp6only'/> 797c478bd9Sstevel@tonic-gate </astring_list> 807c478bd9Sstevel@tonic-gate </property> 817c478bd9Sstevel@tonic-gate </property_group> 827c478bd9Sstevel@tonic-gate 83eb1a3463STruong Nguyen <instance name='default' enabled='false' > 84eb1a3463STruong Nguyen <exec_method 85eb1a3463STruong Nguyen type='method' 86eb1a3463STruong Nguyen name='inetd_start' 87eb1a3463STruong Nguyen exec='/usr/sbin/in.rshd' 88eb1a3463STruong Nguyen timeout_seconds='0'> 89eb1a3463STruong Nguyen <method_context> 90eb1a3463STruong Nguyen <method_credential user='root' group='root' /> 91eb1a3463STruong Nguyen </method_context> 92eb1a3463STruong Nguyen </exec_method> 93eb1a3463STruong Nguyen 94eb1a3463STruong Nguyen <exec_method 95eb1a3463STruong Nguyen type='method' 96eb1a3463STruong Nguyen name='inetd_disable' 97eb1a3463STruong Nguyen exec=':kill' 98eb1a3463STruong Nguyen timeout_seconds='0'> 99eb1a3463STruong Nguyen </exec_method> 100eb1a3463STruong Nguyen 101eb1a3463STruong Nguyen <property_group name='firewall_config' type='com.sun,fw_configuration'> 102eb1a3463STruong Nguyen <propval name='policy' type='astring' value='use_global' /> 103*7ddce999SHans Rosenfeld <propval name='block_policy' type='astring' 104*7ddce999SHans Rosenfeld value='use_global' /> 105eb1a3463STruong Nguyen <propval name='apply_to' type='astring' value='' /> 106*7ddce999SHans Rosenfeld <propval name='apply_to_6' type='astring' value='' /> 107eb1a3463STruong Nguyen <propval name='exceptions' type='astring' value='' /> 108*7ddce999SHans Rosenfeld <propval name='exceptions_6' type='astring' value='' /> 109*7ddce999SHans Rosenfeld <propval name='target' type='astring' value='' /> 110*7ddce999SHans Rosenfeld <propval name='target_6' type='astring' value='' /> 111eb1a3463STruong Nguyen <propval name='value_authorization' type='astring' 112eb1a3463STruong Nguyen value='solaris.smf.value.firewall.config' /> 113eb1a3463STruong Nguyen </property_group> 114ada83f08STruong Nguyen 115ada83f08STruong Nguyen <template> 116ada83f08STruong Nguyen <common_name> 117ada83f08STruong Nguyen <loctext xml:lang='C'> 118ada83f08STruong Nguyen remote shell 119ada83f08STruong Nguyen </loctext> 120ada83f08STruong Nguyen </common_name> 121ada83f08STruong Nguyen </template> 122eb1a3463STruong Nguyen </instance> 123eb1a3463STruong Nguyen 1247c478bd9Sstevel@tonic-gate <!-- 1257c478bd9Sstevel@tonic-gate RSH - with kerberos authentication (only works over IPv4) 1267c478bd9Sstevel@tonic-gate --> 1277c478bd9Sstevel@tonic-gate <instance name='kshell' enabled='false' > 1287c478bd9Sstevel@tonic-gate <exec_method 1297c478bd9Sstevel@tonic-gate type='method' 1307c478bd9Sstevel@tonic-gate name='inetd_start' 1317c478bd9Sstevel@tonic-gate exec='/usr/sbin/in.rshd -kc' 1327c478bd9Sstevel@tonic-gate timeout_seconds='0'> 1337c478bd9Sstevel@tonic-gate <method_context> 1347c478bd9Sstevel@tonic-gate <method_credential user='root' group='root' /> 1357c478bd9Sstevel@tonic-gate </method_context> 1367c478bd9Sstevel@tonic-gate </exec_method> 1377c478bd9Sstevel@tonic-gate 1387c478bd9Sstevel@tonic-gate <exec_method 1397c478bd9Sstevel@tonic-gate type='method' 1407c478bd9Sstevel@tonic-gate name='inetd_disable' 1417c478bd9Sstevel@tonic-gate exec=':kill' 1427c478bd9Sstevel@tonic-gate timeout_seconds='0'> 1437c478bd9Sstevel@tonic-gate </exec_method> 1447c478bd9Sstevel@tonic-gate 1457c478bd9Sstevel@tonic-gate <property_group name='inetd' type='framework'> 1467c478bd9Sstevel@tonic-gate <propval name='name' type='astring' value='kshell' /> 1477c478bd9Sstevel@tonic-gate <propval name='proto' type='astring' value='tcp' /> 1487c478bd9Sstevel@tonic-gate </property_group> 149eb1a3463STruong Nguyen 150eb1a3463STruong Nguyen <property_group name='firewall_config' type='com.sun,fw_configuration'> 151ada83f08STruong Nguyen <propval name='policy' type='astring' value='use_global' /> 152*7ddce999SHans Rosenfeld <propval name='block_policy' type='astring' 153*7ddce999SHans Rosenfeld value='use_global' /> 154eb1a3463STruong Nguyen <propval name='apply_to' type='astring' value='' /> 155eb1a3463STruong Nguyen <propval name='exceptions' type='astring' value='' /> 156*7ddce999SHans Rosenfeld <propval name='target' type='astring' value='' /> 157eb1a3463STruong Nguyen <propval name='value_authorization' type='astring' 158eb1a3463STruong Nguyen value='solaris.smf.value.firewall.config' /> 159eb1a3463STruong Nguyen </property_group> 160ada83f08STruong Nguyen 161ada83f08STruong Nguyen <template> 162ada83f08STruong Nguyen <common_name> 163ada83f08STruong Nguyen <loctext xml:lang='C'> 164ada83f08STruong Nguyenremote shell with Kerberos authentication 165ada83f08STruong Nguyen </loctext> 166ada83f08STruong Nguyen </common_name> 167ada83f08STruong Nguyen </template> 1687c478bd9Sstevel@tonic-gate </instance> 1697c478bd9Sstevel@tonic-gate 1707c478bd9Sstevel@tonic-gate <stability value='Unstable' /> 1717c478bd9Sstevel@tonic-gate 1727c478bd9Sstevel@tonic-gate <template> 1737c478bd9Sstevel@tonic-gate <common_name> 1747c478bd9Sstevel@tonic-gate <loctext xml:lang='C'> 1757c478bd9Sstevel@tonic-gate rsh 1767c478bd9Sstevel@tonic-gate </loctext> 1777c478bd9Sstevel@tonic-gate </common_name> 1787c478bd9Sstevel@tonic-gate <documentation> 1797c478bd9Sstevel@tonic-gate <manpage title='in.rshd' section='1M' 1807c478bd9Sstevel@tonic-gate manpath='/usr/share/man' /> 1817c478bd9Sstevel@tonic-gate <manpage title='rshd' section='1M' 1827c478bd9Sstevel@tonic-gate manpath='/usr/share/man' /> 1837c478bd9Sstevel@tonic-gate </documentation> 1847c478bd9Sstevel@tonic-gate </template> 1857c478bd9Sstevel@tonic-gate</service> 1867c478bd9Sstevel@tonic-gate 1877c478bd9Sstevel@tonic-gate</service_bundle> 188