Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019

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 -  The command or any files that the command acts upon cannot reside on NFS.
  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  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: