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
- From the global zone, log in to the zone, for example, my-zone.
global# zlogin my-zone
- 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
- From the global zone, log in to the zone, for example, my-zone.
global# zlogin my-zone
- Run the svcadm command to enable rlogin.
my-zone# svcadm enable svc:/network/login:rlogin
- List the services to verify that rlogin is enabled.
my-zone# svcs -a . . . online 14:01:08 svc:/network/login:rlogin . . .