Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

How to Use Interactive Mode to Access a Zone

In interactive mode, a new pseudo-terminal is allocated for use inside the zone.

You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. From the global zone, log in to the zone, for example, my-zone.
    global# zlogin my-zone

    Information similar to the following will display:

    [Connected to zone 'my-zone' pts/2]
    Last login: Wed Jul  3 16:25:00 on console
  3. Type exit to close the connection.

    You will see a message similar to the following:

    [Connection to zone 'my-zone' pts/2 closed]