Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Use Non-Interactive Mode to Access a Zone

Non-interactive mode is enabled when the user supplies a command to be run inside the zone. Non-interactive mode does not allocate a new pseudo-terminal.

Note that the command or any files that the command acts upon cannot reside on NFS.

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 my-zone zone and supply a command name.

    The command zonename is used here.

    global# zlogin my-zone zonename

    You will see the following output:

    my-zone