1<?xml version='1.0'?> 2<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> 3<!-- 4 CDDL HEADER START 5 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. 9 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. 14 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] 20 21 CDDL HEADER END 22 23 Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 Use is subject to license terms. 25 26 ident "%Z%%M% %I% %E% SMI" 27 28 The purpose of the limited_net profile is to provide a set of 29 active services that allow one to connect to the machine via ssh 30 (requires sshd). The services which are deactivated here are those 31 that are at odds with this goal. Those which are activated are 32 explicit requirements for the goal's satisfaction. 33 34 NOTE: Service profiles delivered by this package are not editable, 35 and their contents will be overwritten by package or patch 36 operations, including operating system upgrade. Make customizations 37 in a distinct file. The path, /var/svc/profile/site.xml, is a 38 distinguished location for a site-specific service profile, treated 39 otherwise equivalently to this file. 40--> 41<service_bundle type='profile' name='generic_limited_net' 42 xmlns:xi='http://www.w3.org/2003/XInclude' > 43 <!-- 44 Include name service profile, as set by system id tools. 45 --> 46 <xi:include href='file:/var/svc/profile/name_service.xml' /> 47 48 <!-- 49 svc.startd(1M) services 50 --> 51 <service name='system/coreadm' version='1' type='service'> 52 <instance name='default' enabled='true'/> 53 </service> 54 <service name='system/cron' version='1' type='service'> 55 <instance name='default' enabled='true'/> 56 </service> 57 <service name='system/cryptosvc' version='1' type='service'> 58 <instance name='default' enabled='true'/> 59 </service> 60 <service name='system/identity' version='1' type='service'> 61 <instance name='domain' enabled='true'/> 62 </service> 63 <service name='system/intrd' version='1' type='service'> 64 <instance name='default' enabled='true'/> 65 </service> 66 <service name='system/keymap' version='1' type='service'> 67 <instance name='default' enabled='true'/> 68 </service> 69 <service name='system/picl' version='1' type='service'> 70 <instance name='default' enabled='true'/> 71 </service> 72 <service name='system/sac' version='1' type='service'> 73 <instance name='default' enabled='true'/> 74 </service> 75 <service name='system/scheduler' version='1' type='service'> 76 <instance name='default' enabled='true'/> 77 </service> 78 <service name='system/system-log' version='1' type='service'> 79 <instance name='default' enabled='true'/> 80 </service> 81 <service name='system/utmp' version='1' type='service'> 82 <instance name='default' enabled='true'/> 83 </service> 84 <service name='system/zones' version='1' type='service'> 85 <instance name='default' enabled='true'/> 86 </service> 87 <service name='network/rpc/bind' version='1' type='service'> 88 <instance name='default' enabled='true'/> 89 </service> 90 <service name='system/name-service-cache' version='1' type='service'> 91 <instance name='default' enabled='true'/> 92 </service> 93 <service name='network/nfs/status' version='1' type='service'> 94 <instance name='default' enabled='false'/> 95 </service> 96 <service name='network/nfs/nlockmgr' version='1' type='service'> 97 <instance name='default' enabled='false'/> 98 </service> 99 <service name='network/nfs/client' version='1' type='service'> 100 <instance name='default' enabled='false'/> 101 </service> 102 <service name='network/nfs/server' version='1' type='service'> 103 <instance name='default' enabled='false'/> 104 </service> 105 <service name='network/nfs/rquota' version='1' type='service'> 106 <instance name='default' enabled='false'/> 107 </service> 108 <service name='network/nfs/cbd' version='1' type='service'> 109 <instance name='default' enabled='false'/> 110 </service> 111 <service name='network/nfs/mapid' version='1' type='service'> 112 <instance name='default' enabled='false'/> 113 </service> 114 115 <service name='network/ssh' version='1' type='service'> 116 <instance name='default' enabled='true'/> 117 </service> 118 <service name='network/smtp' version='1' type='service'> 119 <instance name='sendmail' enabled='true'/> 120 </service> 121 <service name='network/inetd' version='1' type='restarter'> 122 <instance name='default' enabled='true'/> 123 </service> 124 <service name='system/filesystem/autofs' version='1' type='service'> 125 <instance name='default' enabled='true'/> 126 </service> 127 <service name='system/filesystem/volfs' version='1' type='service'> 128 <instance name='default' enabled='true'/> 129 </service> 130 <service name='system/power' version='1' type='service'> 131 <instance name='default' enabled='true'/> 132 </service> 133 <service name='application/print/cleanup' version='1' type='service'> 134 <instance name='default' enabled='true' /> 135 </service> 136 <service name='network/pfil' version='1' type='service'> 137 <instance name='default' enabled='true' /> 138 </service> 139 140 <service name='network/dhcp-server' version='1' type='service'> 141 <instance name='default' enabled='false' /> 142 </service> 143 <service name='network/ntp' version='1' type='service'> 144 <instance name='default' enabled='false' /> 145 </service> 146 <service name='network/rarp' version='1' type='service'> 147 <instance name='default' enabled='false' /> 148 </service> 149 <service name='network/slp' version='1' type='service'> 150 <instance name='default' enabled='false' /> 151 </service> 152 <service name='network/security/kadmin' version='1' type='service'> 153 <instance name='default' enabled='false' /> 154 </service> 155 <service name='network/security/krb5_prop' version='1' type='service'> 156 <instance name='default' enabled='false' /> 157 </service> 158 <service name='network/security/krb5kdc' version='1' type='service'> 159 <instance name='default' enabled='false' /> 160 </service> 161 162 <service name='application/management/sma' version='1' type='service'> 163 <instance name='default' enabled='false' /> 164 </service> 165 <service name='application/management/seaport' version='1' type='service'> 166 <instance name='default' enabled='false' /> 167 </service> 168 <service name='application/management/snmpdx' version='1' type='service'> 169 <instance name='default' enabled='false' /> 170 </service> 171 <service name='application/management/wbem' version='1' type='service'> 172 <instance name='default' enabled='true' /> 173 </service> 174 <service name='application/print/rfc1179' version='1' type='service'> 175 <instance name='default' enabled='true' /> 176 </service> 177 <service name='application/print/ipp-listener' version='1' type='service'> 178 <instance name='default' enabled='false' /> 179 </service> 180 181 <!-- 182 default inetd(1M) services 183 --> 184 <service name='network/finger' version='1' type='service'> 185 <instance name='default' enabled='false'/> 186 </service> 187 <service name='network/ftp' version='1' type='service'> 188 <instance name='default' enabled='false'/> 189 </service> 190 <service name='network/login' version='1' type='service'> 191 <instance name='rlogin' enabled='false'/> 192 <instance name='klogin' enabled='false'/> 193 <instance name='eklogin' enabled='false'/> 194 </service> 195 <service name='network/shell' version='1' type='service'> 196 <instance name='default' enabled='false'/> 197 <instance name='kshell' enabled='false'/> 198 </service> 199 <service name='network/telnet' version='1' type='service'> 200 <instance name='default' enabled='false'/> 201 </service> 202 203 <!-- 204 non-default inetd(1M) services 205 --> 206 <service name='network/tname' version='1' type='service'> 207 <instance name='default' enabled='false'/> 208 </service> 209 <service name='network/uucp' version='1' type='service'> 210 <instance name='default' enabled='false'/> 211 </service> 212 <service name='network/chargen' version='1' type='service'> 213 <instance name='stream' enabled='false'/> 214 <instance name='dgram' enabled='false'/> 215 </service> 216 <service name='network/daytime' version='1' type='service'> 217 <instance name='stream' enabled='false'/> 218 <instance name='dgram' enabled='false'/> 219 </service> 220 <service name='network/discard' version='1' type='service'> 221 <instance name='stream' enabled='false'/> 222 <instance name='dgram' enabled='false'/> 223 </service> 224 <service name='network/echo' version='1' type='service'> 225 <instance name='stream' enabled='false'/> 226 <instance name='dgram' enabled='false'/> 227 </service> 228 <service name='network/time' version='1' type='service'> 229 <instance name='stream' enabled='false'/> 230 <instance name='dgram' enabled='false'/> 231 </service> 232 <service name='network/comsat' version='1' type='service'> 233 <instance name='default' enabled='false'/> 234 </service> 235 <service name='network/rexec' version='1' type='service'> 236 <instance name='default' enabled='false'/> 237 </service> 238 <service name='network/talk' version='1' type='service'> 239 <instance name='default' enabled='false'/> 240 </service> 241 <service name='application/x11/xfs' version='1' type='service'> 242 <instance name='default' enabled='false'/> 243 </service> 244 245 <!-- 246 default inetd(1M) RPC services enabled 247 --> 248 <service name='network/rpc/gss' version='1' type='service'> 249 <instance name='default' enabled='true'/> 250 </service> 251 <service name='network/rpc/mdcomm' version='1' type='service'> 252 <instance name='default' enabled='false'/> 253 </service> 254 <service name='network/rpc/smserver' version='1' type='service'> 255 <instance name='default' enabled='true'/> 256 </service> 257 <service name='network/security/ktkt_warn' version='1' type='service'> 258 <instance name='default' enabled='true'/> 259 </service> 260 261 <!-- 262 default inetd(1M) RPC services disabled 263 --> 264 <service name='network/rpc/rstat' version='1' type='service'> 265 <instance name='default' enabled='false'/> 266 </service> 267 <service name='network/rpc/rusers' version='1' type='service'> 268 <instance name='default' enabled='false'/> 269 </service> 270 <service name='network/rpc/meta' version='1' type='service'> 271 <instance name='default' enabled='false'/> 272 </service> 273 <service name='network/rpc/metamed' version='1' type='service'> 274 <instance name='default' enabled='false'/> 275 </service> 276 <service name='network/rpc/metamh' version='1' type='service'> 277 <instance name='default' enabled='false'/> 278 </service> 279 280 <!-- 281 non-default inetd(1M) RPC services disabled 282 --> 283 <service name='network/rpc/ocfserv' version='1' type='service'> 284 <instance name='default' enabled='false'/> 285 </service> 286 <service name='network/rpc/rex' version='1' type='service'> 287 <instance name='default' enabled='false'/> 288 </service> 289 <service name='network/rpc/spray' version='1' type='service'> 290 <instance name='default' enabled='false'/> 291 </service> 292 <service name='network/rpc/wall' version='1' type='service'> 293 <instance name='default' enabled='false'/> 294 </service> 295 296 <!-- 297 Enable CDE services. 298 --> 299 <service name='application/cde-printinfo' version='1' type='service'> 300 <instance name='default' enabled='true' /> 301 </service> 302 <service name='application/graphical-login/cde-login' version='1' 303 type='service'> 304 <instance name='default' enabled='true' /> 305 </service> 306 <service name='network/rpc/cde-calendar-manager' version='1' type='service'> 307 <instance name='default' enabled='true'/> 308 </service> 309 310 <!-- 311 Disabled CDE services. 312 --> 313 <service name='network/cde-spc' version='1' type='service'> 314 <instance name='default' enabled='false' /> 315 </service> 316 317</service_bundle> 318