System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

Switching the Non-Global Zone to a Different Networking Service Configuration

This zone was installed with the minimal networking service configuration described in Chapter 16, Managing Services (Tasks), in System Administration Guide: Basic Administration. You can switch the zone to the open networking service configuration, or enable or disable individual services in the zone.

How to Switch the Zone to the Open Networking Service Configuration

  1. From the global zone, log in to the zone, for example, my-zone.
    global# zlogin my-zone
  2. Run the netservices command to switch the zone to the traditional open networking configuration.
    my-zone# /usr/sbin/netservices open

    You will see a display similar to the following. Respond y to the prompt to restart dtlogin.

    restarting syslogd
    restarting sendmail
    dtlogin needs to be restarted. Restart now? [Y] y
    restarting dtlogin

How to Enable a Specific Service in a Zone

  1. From the global zone, log in to the zone, for example, my-zone.
    global# zlogin my-zone
  2. Run the svcadm command to enable rlogin.
    my-zone# svcadm enable svc:/network/login:rlogin
  3. List the services to verify that rlogin is enabled.
    my-zone# svcs -a . . . online 14:01:08 svc:/network/login:rlogin . . .
Previous Next