Print this page
5700 add zlogin -d option to allow graceful disconnect when zone is halted
Reviewed by: Andrew Gabriel <illumos@cucumber.demon.co.uk>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
   1 '\" te
   2 .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved
   3 .\" The contents of this file are subject to the terms of the Common
   4 .\" Development and Distribution License (the "License").  You may not use this
   5 .\" file except in compliance with the License.
   6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or
   7 .\" http://www.opensolaris.org/os/licensing.  See the License for the specific
   8 .\" language governing permissions and limitations under the License.
   9 .\" When distributing Covered Code, include this CDDL HEADER in each file and
  10 .\" include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable,
  11 .\" add the following below this CDDL HEADER, with the fields enclosed by
  12 .\" brackets "[]" replaced with your own identifying information:
  13 .\" Portions Copyright [yyyy] [name of copyright owner]
  14 .\" Copyright 2013 DEY Storage Systems, Inc.
  15 .\" Copyright (c) 2014 Gary Mills
  16 .TH ZLOGIN 1 "Jan 22, 2014"

  17 .SH NAME
  18 zlogin \- enter a zone
  19 .SH SYNOPSIS
  20 .LP
  21 .nf
  22 \fBzlogin\fR [\fB-CEQ\fR] [\fB-e\fR \fIc\fR] [\fB-l\fR \fIusername\fR] \fIzonename\fR
  23 .fi
  24 
  25 .LP
  26 .nf
  27 \fBzlogin\fR [\fB-nEQS\fR] [\fB-e\fR \fIc\fR] [\fB-l\fR \fIusername\fR] \fIzonename\fR \fIutility\fR
  28      [\fIargument\fR]...
  29 .fi
  30 
  31 .SH DESCRIPTION
  32 .sp
  33 .LP
  34 The \fBzlogin\fR utility is used by the administrator to enter an operating
  35 system zone. Only a superuser operating in the global system zone can use this
  36 utility.
  37 .sp
  38 .LP
  39 \fBzlogin\fR operates in one of three modes:
  40 .sp
  41 .ne 2
  42 .na


  75 .RS 24n
  76 If the \fB-C\fR option is specified, the user is connected to the zone console
  77 device and \fBzlogin\fR operates in \fBconsole mode\fR. The zone console is
  78 available once the zone is in the installed  state. Connections to the console
  79 are persistent across reboot of the zone.
  80 .RE
  81 
  82 .SH OPTIONS
  83 .sp
  84 .LP
  85 The following options are supported:
  86 .sp
  87 .ne 2
  88 .na
  89 \fB\fB-C\fR\fR
  90 .ad
  91 .RS 15n
  92 Connects to the zone console.
  93 .RE
  94 










  95 .sp
  96 .ne 2
  97 .na
  98 \fB\fB-e\fR \fIc\fR\fR
  99 .ad
 100 .RS 15n
 101 Specifies a different escape character, \fIc\fR, for the key sequence used to
 102 access extended functions and to disconnect from the login. The default escape
 103 character is the tilde (\fB~\fR).
 104 .RE
 105 
 106 .sp
 107 .ne 2
 108 .na
 109 \fB\fB-E\fR\fR
 110 .ad
 111 .RS 15n
 112 Disables the ability to access extended functions or to disconnect from the
 113 login by using the escape sequence character.
 114 .RE


   1 '\" te
   2 .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved
   3 .\" The contents of this file are subject to the terms of the Common
   4 .\" Development and Distribution License (the "License").  You may not use this
   5 .\" file except in compliance with the License.
   6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or
   7 .\" http://www.opensolaris.org/os/licensing.  See the License for the specific
   8 .\" language governing permissions and limitations under the License.
   9 .\" When distributing Covered Code, include this CDDL HEADER in each file and
  10 .\" include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable,
  11 .\" add the following below this CDDL HEADER, with the fields enclosed by
  12 .\" brackets "[]" replaced with your own identifying information:
  13 .\" Portions Copyright [yyyy] [name of copyright owner]
  14 .\" Copyright 2013 DEY Storage Systems, Inc.
  15 .\" Copyright (c) 2014 Gary Mills
  16 .\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  17 .TH ZLOGIN 1 "Mar 17, 2015"
  18 .SH NAME
  19 zlogin \- enter a zone
  20 .SH SYNOPSIS
  21 .LP
  22 .nf
  23 \fBzlogin\fR [\fB-dCEQ\fR] [\fB-e\fR \fIc\fR] [\fB-l\fR \fIusername\fR] \fIzonename\fR
  24 .fi
  25 
  26 .LP
  27 .nf
  28 \fBzlogin\fR [\fB-nEQS\fR] [\fB-e\fR \fIc\fR] [\fB-l\fR \fIusername\fR] \fIzonename\fR \fIutility\fR
  29      [\fIargument\fR]...
  30 .fi
  31 
  32 .SH DESCRIPTION
  33 .sp
  34 .LP
  35 The \fBzlogin\fR utility is used by the administrator to enter an operating
  36 system zone. Only a superuser operating in the global system zone can use this
  37 utility.
  38 .sp
  39 .LP
  40 \fBzlogin\fR operates in one of three modes:
  41 .sp
  42 .ne 2
  43 .na


  76 .RS 24n
  77 If the \fB-C\fR option is specified, the user is connected to the zone console
  78 device and \fBzlogin\fR operates in \fBconsole mode\fR. The zone console is
  79 available once the zone is in the installed  state. Connections to the console
  80 are persistent across reboot of the zone.
  81 .RE
  82 
  83 .SH OPTIONS
  84 .sp
  85 .LP
  86 The following options are supported:
  87 .sp
  88 .ne 2
  89 .na
  90 \fB\fB-C\fR\fR
  91 .ad
  92 .RS 15n
  93 Connects to the zone console.
  94 .RE
  95 
  96 .sp
  97 .ne 2
  98 .na
  99 \fB\fB-d\fR\fR
 100 .ad
 101 .RS 15n
 102 Disconnect from the console when the zone halts. This option may only be used
 103 if the \fB-C\fR option is specified.
 104 .RE
 105 
 106 .sp
 107 .ne 2
 108 .na
 109 \fB\fB-e\fR \fIc\fR\fR
 110 .ad
 111 .RS 15n
 112 Specifies a different escape character, \fIc\fR, for the key sequence used to
 113 access extended functions and to disconnect from the login. The default escape
 114 character is the tilde (\fB~\fR).
 115 .RE
 116 
 117 .sp
 118 .ne 2
 119 .na
 120 \fB\fB-E\fR\fR
 121 .ad
 122 .RS 15n
 123 Disables the ability to access extended functions or to disconnect from the
 124 login by using the escape sequence character.
 125 .RE