Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

Zone Console Login

Each zone maintains a virtual console, /dev/console. Performing actions on the console is referred to as console mode. Console login to a zone is available when the zone is in the installed state. The zone console is closely analogous to a serial console on a system. Connections to the console persist across zone reboots. To understand how console mode differs from a login session such as telnet, see Remote Login.

The zone console is accessed by using the zlogin command with the –C option and the zonename. The zone does not have to be in the running state.

The –d option can also be used. The option specifies that if the zone halts, the zone disconnects from the console. This option can only be specified with the –C option.

Processes inside the zone can open and write messages to the console. If the zlogin –C process exits, another process can then access the console.

If role-based access control (RBAC) is in use, access to the zone console requires the authorization solaris.zone.manage/zonename. A specific zonename suffix, preceded by the slash character (/), is optional. When omitted, the authorization matches any zone.

To bring up the system Configuration Interactive (SCI) Tool upon boot, type the following:

root@test2:~# sysconfig configure -s