2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 Use is subject to license terms.
26 Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
28 NOTE: This service manifest is not editable; its contents will
29 be overwritten by package or patch operations, including
30 operating system upgrade. Make customizations in a different
34 <service_bundle type='manifest' name='network/hpnssh'>
41 <create_default_instance enabled='false' />
45 <dependency name='fs-local'
46 grouping='require_all'
50 value='svc:/system/filesystem/local' />
53 <dependency name='fs-autofs'
54 grouping='optional_all'
57 <service_fmri value='svc:/system/filesystem/autofs' />
60 <dependency name='net-loopback'
61 grouping='require_all'
64 <service_fmri value='svc:/network/loopback' />
67 <dependency name='net-physical'
68 grouping='require_all'
71 <service_fmri value='svc:/network/physical' />
74 <dependency name='cryptosvc'
75 grouping='require_all'
78 <service_fmri value='svc:/system/cryptosvc' />
81 <dependency name='utmp'
82 grouping='require_all'
85 <service_fmri value='svc:/system/utmp' />
88 <dependency name='network_ipfilter'
89 grouping='optional_all'
92 <service_fmri value='svc:/network/ipfilter:default' />
95 <dependency name='config_data'
96 grouping='require_all'
100 value='file://localhost/etc/hpnssh/sshd_config' />
104 name='hpnssh_multi-user-server'
105 grouping='optional_all'
108 value='svc:/milestone/multi-user-server' />
114 exec='/lib/svc/method/hpnsshd start'
115 timeout_seconds='60'>
116 <method_context security_flags="current"/>
123 timeout_seconds='60' />
129 timeout_seconds='60' />
131 <property_group name='startd'
133 <!-- sub-process core dumps shouldn't restart session -->
134 <propval name='ignore_error'
135 type='astring' value='core,signal' />
138 <property_group name='general' type='framework'>
139 <!-- to start stop sshd -->
140 <propval name='action_authorization' type='astring'
141 value='solaris.smf.manage.ssh' />
144 <property_group name='firewall_context' type='com.sun,fw_definition'>
145 <propval name='name' type='astring' value='hpnssh' />
146 <propval name='ipf_method' type='astring'
147 value='/lib/svc/method/hpnsshd ipfilter' />
150 <property_group name='firewall_config' type='com.sun,fw_configuration'>
151 <propval name='policy' type='astring' value='use_global' />
152 <propval name='block_policy' type='astring'
153 value='use_global' />
154 <propval name='apply_to' type='astring' value='' />
155 <propval name='apply_to_6' type='astring' value='' />
156 <propval name='exceptions' type='astring' value='' />
157 <propval name='exceptions_6' type='astring' value='' />
158 <propval name='target' type='astring' value='' />
159 <propval name='target_6' type='astring' value='' />
160 <propval name='value_authorization' type='astring'
161 value='solaris.smf.value.firewall.config' />
164 <stability value='Unstable' />
168 <loctext xml:lang='C'>
173 <manpage title='hpnsshd' section='8' manpath='/usr/share/man' />