This zone was installed with the open networking configuration described in Chapter 19, Managing Services (Tasks), in System Administration Guide: Basic Administration. You can switch the zone to the limited networking configuration, or enable or disable individual services in the zone.
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 limited networking configuration.
my-zone# /usr/sbin/netservices limited |
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 |
From the global zone, log in to the zone, for example, my-zone.
global# zlogin my-zone |
Run the svcadm command to enable physical memory control using the resource capping daemon.
my-zone# svcadm enable svc:/system/rcap:default |
List the services to verify that rcapd is enabled.
my-zone# svcs -a . . . online 14:04:21 svc:/system/rcap:default . . . |