sun.com docs.sun.com My Sun Worldwide Sites

Previous Previous     Contents     Index     Next 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 15, "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.

ProcedureHow 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

ProcedureHow 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
    .
    .
    .

Printing the Name of the Current Zone

The zonename command described in the zonename(1) man page prints the name of the current zone. The following example shows the output when zonename is used in the global zone.

# zonename
global

Previous Previous     Contents     Index     Next Next
Company Info Contact Terms of Use Privacy Copyright 1994-2007 Sun Microsystems, Inc.