xref: /titanic_51/usr/src/cmd/cmd-inet/usr.sbin/telnet.xml (revision b453864f3587ccc3324d7a3b0438a1e542dcfde7)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
5 Use is subject to license terms.
6
7 CDDL HEADER START
8
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
12
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
17
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
23
24 CDDL HEADER END
25
26	NOTE:  This service manifest is not editable; its contents will
27	be overwritten by package or patch operations, including
28	operating system upgrade.  Make customizations in a different
29	file.
30
31	Service manifest for the in.telnetd service.
32-->
33
34<service_bundle type='manifest' name='SUNWtnetr:telnet'>
35
36<service
37	name='network/telnet'
38	type='service'
39	version='1'>
40
41	<create_default_instance enabled='false' />
42
43	<restarter>
44		<service_fmri value='svc:/network/inetd:default' />
45	</restarter>
46
47	<exec_method
48		type='method'
49		name='inetd_start'
50		exec='/usr/sbin/in.telnetd'
51		timeout_seconds='0'>
52		<method_context>
53			<method_credential user='root' group='root' />
54		</method_context>
55	</exec_method>
56
57	<exec_method
58		type='method'
59		name='inetd_disable'
60		exec=':kill'
61		timeout_seconds='0'>
62	</exec_method>
63
64	<property_group name='inetd' type='framework'>
65		<stability value='Evolving' />
66		<propval name='name' type='astring' value='telnet' />
67		<propval name='endpoint_type' type='astring' value='stream' />
68		<propval name='proto' type='astring' value='tcp6' />
69		<propval name='wait' type='boolean' value='false' />
70		<propval name='isrpc' type='boolean' value='false' />
71	</property_group>
72
73	<property_group name='firewall_config' type='com.sun,fw_configuration'>
74		<propval name='policy' type='astring' value='use_global' />
75		<propval name='apply_to' type='astring' value='' />
76		<propval name='exceptions' type='astring' value='' />
77		<propval name='value_authorization' type='astring'
78			value='solaris.smf.value.firewall.config' />
79	</property_group>
80
81	<stability value='Unstable' />
82
83	<template>
84		<common_name>
85			<loctext xml:lang='C'> Telnet server </loctext>
86		</common_name>
87		<description>
88			<loctext xml:lang='C'>
89in.telnetd supports the standard TELNET virtual terminal protocol.
90			</loctext>
91		</description>
92		<documentation>
93			<manpage title='in.telnetd' section='1M'
94				manpath='/usr/share/man' />
95			<manpage title='telnetd' section='1M'
96				manpath='/usr/share/man' />
97		</documentation>
98	</template>
99</service>
100
101</service_bundle>
102