Wednesday, October 30, 2024
HomeSolarisSolaris system administrationSolaris 10: Connect or Login to Zone Console

Solaris 10: Connect or Login to Zone Console

Once you have a non-global zone installed or running on a Solaris 10 installation, connecting to the console of the zone is often useful. This provides the same control over the zone as connecting to the console of a physical server running Solaris.


To connect to the console of a Solaris 10 zone called testzone, use the following command as root or the equivalent on the global zone:

zlogin -C testzone

The -C option specifies a console login. The console login will persist when the zone is rebooted.

To exit zlogin, use the escape sequence ~. on a new line. (The tilde must follow a carriage return, not any other character.) If this escape character is inappropriate (because you are connected using software like tip that also uses this escape sequence), you can specify a different escape character on the command line. For example, to use the @ symbol, use the following:

zlogin -C -e @ testzone

In this case, to exit the zlogin console session, type @. on a new line.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!