Print this page
3091 add -n to zlogin so its more compatible with rsh command line
   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 .TH ZLOGIN 1 "Sep 8, 2013"

  16 .SH NAME
  17 zlogin \- enter a zone
  18 .SH SYNOPSIS
  19 .LP
  20 .nf
  21 \fBzlogin\fR [\fB-CEQ\fR] [\fB-e\fR \fIc\fR] [\fB-l\fR \fIusername\fR] \fIzonename\fR
  22 .fi
  23 
  24 .LP
  25 .nf
  26 \fBzlogin\fR [\fB-EQS\fR] [\fB-e\fR \fIc\fR] [\fB-l\fR \fIusername\fR] \fIzonename\fR \fIutility\fR
  27      [\fIargument\fR]...
  28 .fi
  29 
  30 .SH DESCRIPTION
  31 .sp
  32 .LP
  33 The \fBzlogin\fR utility is used by the administrator to enter an operating
  34 system zone. Only a superuser operating in the global system zone can use this
  35 utility.
  36 .sp
  37 .LP
  38 \fBzlogin\fR operates in one of three modes:
  39 .sp
  40 .ne 2
  41 .na
  42 \fBInteractive Mode\fR
  43 .ad
  44 .RS 24n
  45 If no utility argument is given and the stdin file descriptor for the
  46 \fBzlogin\fR process is a tty device, \fBzlogin\fR operates in \fBinteractive


 106 .ne 2
 107 .na
 108 \fB\fB-E\fR\fR
 109 .ad
 110 .RS 15n
 111 Disables the ability to access extended functions or to disconnect from the
 112 login by using the escape sequence character.
 113 .RE
 114 
 115 .sp
 116 .ne 2
 117 .na
 118 \fB\fB-l\fR \fIusername\fR\fR
 119 .ad
 120 .RS 15n
 121 Specifies a different \fIusername\fR for the zone login. If you do not use this
 122 option, the zone username used is "root". This option is invalid if the
 123 \fB-C\fR option is specified.
 124 .RE
 125 











 126 .sp
 127 .ne 2
 128 .na
 129 \fB-Q\fR
 130 .ad
 131 .RS 15n
 132 Specifies quiet mode operation.  In quiet mode, extra messages indicating the
 133 the function of \fBzlogin\fR will not be displayed, giving the possibility
 134 to present the appearance that the command is running locally rather than
 135 in another zone.
 136 .RE
 137 
 138 .sp
 139 .ne 2
 140 .na
 141 \fB\fB-S\fR\fR
 142 .ad
 143 .RS 15n
 144 "Safe" login mode. \fBzlogin\fR does minimal processing and does not invoke
 145 \fBlogin\fR(1) or \fBsu\fR(1M). The \fB-S\fR option can not be used if a


   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
  43 \fBInteractive Mode\fR
  44 .ad
  45 .RS 24n
  46 If no utility argument is given and the stdin file descriptor for the
  47 \fBzlogin\fR process is a tty device, \fBzlogin\fR operates in \fBinteractive


 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
 115 
 116 .sp
 117 .ne 2
 118 .na
 119 \fB\fB-l\fR \fIusername\fR\fR
 120 .ad
 121 .RS 15n
 122 Specifies a different \fIusername\fR for the zone login. If you do not use this
 123 option, the zone username used is "root". This option is invalid if the
 124 \fB-C\fR option is specified.
 125 .RE
 126 
 127 .sp
 128 .ne 2
 129 .na
 130 \fB-n\fR
 131 .ad
 132 .RS 15n
 133 Redirect the input of \fBzlogin\fR to \fB/dev/null\fR.
 134 This option is useful when the command running in the local zone
 135 and the shell which invokes \fBzlogin\fR both read from standard input.
 136 .RE
 137 
 138 .sp
 139 .ne 2
 140 .na
 141 \fB-Q\fR
 142 .ad
 143 .RS 15n
 144 Specifies quiet mode operation.  In quiet mode, extra messages indicating the
 145 the function of \fBzlogin\fR will not be displayed, giving the possibility
 146 to present the appearance that the command is running locally rather than
 147 in another zone.
 148 .RE
 149 
 150 .sp
 151 .ne 2
 152 .na
 153 \fB\fB-S\fR\fR
 154 .ad
 155 .RS 15n
 156 "Safe" login mode. \fBzlogin\fR does minimal processing and does not invoke
 157 \fBlogin\fR(1) or \fBsu\fR(1M). The \fB-S\fR option can not be used if a