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 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/dbus' version='1' type='service'> 61 <instance name='default' enabled='true'/> 62 </service> 63 <service name='system/extended-accounting' version='1' type='service'> 64 <instance name='flow' enabled='false'/> 65 <instance name='process' enabled='false'/> 66 <instance name='task' enabled='false'/> 67 </service> 68 <service name='system/hal' version='1' type='service'> 69 <instance name='default' enabled='true'/> 70 </service> 71 <service name='system/identity' version='1' type='service'> 72 <instance name='domain' enabled='true'/> 73 </service> 74 <service name='system/intrd' version='1' type='service'> 75 <instance name='default' enabled='true'/> 76 </service> 77 <service name='system/keymap' version='1' type='service'> 78 <instance name='default' enabled='true'/> 79 </service> 80 <service name='system/picl' version='1' type='service'> 81 <instance name='default' enabled='true'/> 82 </service> 83 <service name='system/sac' version='1' type='service'> 84 <instance name='default' enabled='true'/> 85 </service> 86 <service name='system/scheduler' version='1' type='service'> 87 <instance name='default' enabled='true'/> 88 </service> 89 <service name='system/system-log' version='1' type='service'> 90 <instance name='default' enabled='true'/> 91 </service> 92 <service name='system/utmp' version='1' type='service'> 93 <instance name='default' enabled='true'/> 94 </service> 95 <service name='system/zones' version='1' type='service'> 96 <instance name='default' enabled='true'/> 97 </service> 98 <service name='network/rpc/bind' version='1' type='service'> 99 <instance name='default' enabled='true'/> 100 </service> 101 <service name='system/name-service-cache' version='1' type='service'> 102 <instance name='default' enabled='true'/> 103 </service> 104 <service name='network/nfs/status' version='1' type='service'> 105 <instance name='default' enabled='false'/> 106 </service> 107 <service name='network/nfs/nlockmgr' version='1' type='service'> 108 <instance name='default' enabled='false'/> 109 </service> 110 <service name='network/nfs/client' version='1' type='service'> 111 <instance name='default' enabled='false'/> 112 </service> 113 <service name='network/nfs/server' version='1' type='service'> 114 <instance name='default' enabled='false'/> 115 </service> 116 <service name='network/nfs/rquota' version='1' type='service'> 117 <instance name='default' enabled='false'/> 118 </service> 119 <service name='network/nfs/cbd' version='1' type='service'> 120 <instance name='default' enabled='false'/> 121 </service> 122 <service name='network/nfs/mapid' version='1' type='service'> 123 <instance name='default' enabled='false'/> 124 </service> 125 <service name='network/smb/client' version='1' type='service'> 126 <instance name='default' enabled='false'/> 127 </service> 128 129 <service name='network/ssh' version='1' type='service'> 130 <instance name='default' enabled='true'/> 131 </service> 132 <service name='network/smtp' version='1' type='service'> 133 <instance name='sendmail' enabled='true'/> 134 </service> 135 <service name='network/inetd' version='1' type='restarter'> 136 <instance name='default' enabled='true'/> 137 </service> 138 <service name='system/filesystem/autofs' version='1' type='service'> 139 <instance name='default' enabled='true'/> 140 </service> 141 <service name='system/filesystem/rmvolmgr' version='1' type='service'> 142 <instance name='default' enabled='true'/> 143 </service> 144 <service name='system/power' version='1' type='service'> 145 <instance name='default' enabled='true'/> 146 </service> 147 148 <service name='network/dhcp-server' version='1' type='service'> 149 <instance name='default' enabled='false' /> 150 </service> 151 <service name='network/ntp' version='1' type='service'> 152 <instance name='default' enabled='false' /> 153 </service> 154 <service name='network/rarp' version='1' type='service'> 155 <instance name='default' enabled='false' /> 156 </service> 157 <service name='network/slp' version='1' type='service'> 158 <instance name='default' enabled='false' /> 159 </service> 160 <service name='network/security/kadmin' version='1' type='service'> 161 <instance name='default' enabled='false' /> 162 </service> 163 <service name='network/security/krb5_prop' version='1' type='service'> 164 <instance name='default' enabled='false' /> 165 </service> 166 <service name='network/security/krb5kdc' version='1' type='service'> 167 <instance name='default' enabled='false' /> 168 </service> 169 170 <service name='application/management/sma' version='1' type='service'> 171 <instance name='default' enabled='false' /> 172 </service> 173 <service name='application/management/seaport' version='1' type='service'> 174 <instance name='default' enabled='false' /> 175 </service> 176 <service name='application/management/snmpdx' version='1' type='service'> 177 <instance name='default' enabled='false' /> 178 </service> 179 <service name='application/management/wbem' version='1' type='service'> 180 <instance name='default' enabled='true' /> 181 </service> 182 <service name='application/print/ipp-listener' version='1' type='service'> 183 <instance name='default' enabled='false' /> 184 </service> 185 <service name='application/print/ppd-cache-update' version='1' type='service'> 186 <instance name='default' enabled='true' /> 187 </service> 188 <service name='application/print/rfc1179' version='1' type='service'> 189 <instance name='default' enabled='false' /> 190 </service> 191 <service name='application/cups/in-lpd' version='1' type='service'> 192 <instance name='default' enabled='false' /> 193 </service> 194 <service name='application/stosreg' version='1' type='service'> 195 <instance name='default' enabled='true' /> 196 </service> 197 198 <!-- 199 default inetd(1M) services 200 --> 201 <service name='network/finger' version='1' type='service'> 202 <instance name='default' enabled='false'/> 203 </service> 204 <service name='network/ftp' version='1' type='service'> 205 <instance name='default' enabled='false'/> 206 </service> 207 <service name='network/login' version='1' type='service'> 208 <instance name='rlogin' enabled='false'/> 209 <instance name='klogin' enabled='false'/> 210 <instance name='eklogin' enabled='false'/> 211 </service> 212 <service name='network/shell' version='1' type='service'> 213 <instance name='default' enabled='false'/> 214 <instance name='kshell' enabled='false'/> 215 </service> 216 <service name='network/telnet' version='1' type='service'> 217 <instance name='default' enabled='false'/> 218 </service> 219 220 <!-- 221 non-default inetd(1M) services 222 --> 223 <service name='network/uucp' version='1' type='service'> 224 <instance name='default' enabled='false'/> 225 </service> 226 <service name='network/chargen' version='1' type='service'> 227 <instance name='stream' enabled='false'/> 228 <instance name='dgram' enabled='false'/> 229 </service> 230 <service name='network/daytime' version='1' type='service'> 231 <instance name='stream' enabled='false'/> 232 <instance name='dgram' enabled='false'/> 233 </service> 234 <service name='network/discard' version='1' type='service'> 235 <instance name='stream' enabled='false'/> 236 <instance name='dgram' enabled='false'/> 237 </service> 238 <service name='network/echo' version='1' type='service'> 239 <instance name='stream' enabled='false'/> 240 <instance name='dgram' enabled='false'/> 241 </service> 242 <service name='network/time' version='1' type='service'> 243 <instance name='stream' enabled='false'/> 244 <instance name='dgram' enabled='false'/> 245 </service> 246 <service name='network/comsat' version='1' type='service'> 247 <instance name='default' enabled='false'/> 248 </service> 249 <service name='network/rexec' version='1' type='service'> 250 <instance name='default' enabled='false'/> 251 </service> 252 <service name='network/talk' version='1' type='service'> 253 <instance name='default' enabled='false'/> 254 </service> 255 <service name='network/stdiscover' version='1' type='service'> 256 <instance name='default' enabled='false'/> 257 </service> 258 <service name='network/stlisten' version='1' type='service'> 259 <instance name='default' enabled='false'/> 260 </service> 261 262 <!-- 263 default inetd(1M) RPC services enabled 264 --> 265 <service name='network/rpc/gss' version='1' type='service'> 266 <instance name='default' enabled='true'/> 267 </service> 268 <service name='network/rpc/mdcomm' version='1' type='service'> 269 <instance name='default' enabled='false'/> 270 </service> 271 <service name='network/rpc/smserver' version='1' type='service'> 272 <instance name='default' enabled='true'/> 273 </service> 274 <service name='network/security/ktkt_warn' version='1' type='service'> 275 <instance name='default' enabled='true'/> 276 </service> 277 278 <!-- 279 default inetd(1M) RPC services disabled 280 --> 281 <service name='network/rpc/rstat' version='1' type='service'> 282 <instance name='default' enabled='false'/> 283 </service> 284 <service name='network/rpc/rusers' version='1' type='service'> 285 <instance name='default' enabled='false'/> 286 </service> 287 <service name='network/rpc/meta' version='1' type='service'> 288 <instance name='default' enabled='false'/> 289 </service> 290 <service name='network/rpc/metamed' version='1' type='service'> 291 <instance name='default' enabled='false'/> 292 </service> 293 <service name='network/rpc/metamh' version='1' type='service'> 294 <instance name='default' enabled='false'/> 295 </service> 296 297 <!-- 298 non-default inetd(1M) RPC services disabled 299 --> 300 <service name='network/rpc/ocfserv' version='1' type='service'> 301 <instance name='default' enabled='false'/> 302 </service> 303 <service name='network/rpc/rex' version='1' type='service'> 304 <instance name='default' enabled='false'/> 305 </service> 306 <service name='network/rpc/spray' version='1' type='service'> 307 <instance name='default' enabled='false'/> 308 </service> 309 <service name='network/rpc/wall' version='1' type='service'> 310 <instance name='default' enabled='false'/> 311 </service> 312 313 <!-- 314 Enable CDE services. 315 --> 316 <service name='application/cde-printinfo' version='1' type='service'> 317 <instance name='default' enabled='true' /> 318 </service> 319 <service name='network/rpc/cde-ttdbserver' version='1' type='service'> 320 <instance name='tcp' enabled='true' /> 321 </service> 322 <service name='application/graphical-login/cde-login' version='1' 323 type='service'> 324 <instance name='default' enabled='true' /> 325 </service> 326 <service name='network/rpc/cde-calendar-manager' version='1' type='service'> 327 <instance name='default' enabled='true'/> 328 </service> 329 330 <!-- 331 Disabled CDE services. 332 --> 333 <service name='network/cde-spc' version='1' type='service'> 334 <instance name='default' enabled='false' /> 335 </service> 336 <service name='application/x11/xfs' version='1' type='service'> 337 <instance name='default' enabled='false'/> 338 </service> 339 340</service_bundle> 341