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