Sponsored Content
Operating Systems Solaris Zone console login prompt exit Post 302738045 by hergp on Friday 30th of November 2012 09:21:46 AM
Old 11-30-2012
When it asks for a password, then just press enter. There will be a few seconds delay, and when it asks for a username again, type ~.

Code:
# zlogin -C zone1
[Connected to zone 'zone1' console]

zone1 console login:
zone1 console login: asdf
Password:
Login incorrect
zone1 console login: ~.
[Connection to zone 'zone1' console closed]

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no $ prompt while starting console

I had this problem before but it started working OK for a while. I can create a new profile but when I launch the console for that user it does not show the $ prompt. It shows for su and I tried to set the terminal but I am not sure if I did it correctly since it does not work still. The... (9 Replies)
Discussion started by: softarch
9 Replies

2. AIX

How to exit system console from HMC?

Hi, I ssh to HMC, then vtmenu, then start a system console from there. How do I exit the console to return to HMC prompt? I've tried the following two key combinations but none of them is working: (1) ~~ (2) Ctrl+[, Shift+( Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

3. Shell Programming and Scripting

passing login details to htaccess login prompt

Hi, How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php). Any help or hint appreciated. Thanks, SJ (4 Replies)
Discussion started by: SilvesterJ
4 Replies

4. Solaris

Console Prompt

Hey guys, I'm trying to get the servers up, but I am having a hard time just trying to get in the system and configure it. I am connecting to the Sun 240,220 servers via the Serial Connection. Watching the server come up after it starts to come up and does all the post message the screen... (6 Replies)
Discussion started by: br1an
6 Replies

5. Solaris

$ Prompt on Serial console is not responding.

Hi Experts. i have been stuck up with an issue. i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm. Initially i was able to login and executed some tasks. After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies

6. UNIX for Advanced & Expert Users

$ Prompt on Serial console is not responding.

Hi Experts. i have been stuck up with an issue. i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm. Initially i was able to login and executed some tasks. After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies

7. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies

8. Solaris

Unable to login via console mode to non-global zone

tldr; We've installed a non-global-zone from a unified archive which once booted, we're unable to gain access to the system either through zlogin or zlogin -C. Errors; svc.startd: instance svc:/system/console-login:default exited with status 127 Investigation; 1) Already opened a SR with... (1 Reply)
Discussion started by: samthewildone
1 Replies

9. Solaris

Virtual Terminal (Console) showing non-global zone?

Hope that everyone is doing well today. Happy Friday. I am running an illumos (opensolaris) based system which is like SmartOS, OmniOS, and OpenIndiana I have been searching all over the Internet into various documents and forms that have to do with Solaris, Opensolaris, Illumos, and SmartOS... (3 Replies)
Discussion started by: LonnieTC
3 Replies
zlogin(1)							   User Commands							 zlogin(1)

NAME
zlogin - enter a zone SYNOPSIS
zlogin [-CE] [-e c] [-l username] zonename zlogin [-ES] [-e c] [-l username] zonename utility [argument...] DESCRIPTION
The zlogin utility is used by the administrator to enter an operating system zone. Only a superuser operating in the global system zone can use this utility. zlogin operates in one of three modes: Interactive Mode If no utility argument is given and the stdin file descriptor for the zlogin process is a tty device, zlogin operates in interactive mode. In this mode, zlogin creates a new pseudo terminal for use within the login session. Programs requiring a tty device, for exam- ple, vi(1), work properly in this mode. In this mode, zlogin invokes login(1) to provide a suitable login session. Non-Interactive Mode If a utility is specified, zlogin operates in non-interactive mode. This mode can be useful for script authors since stdin, stdout, and stderr are preserved and the exit status of utility is returned upon termination. In this mode, zlogin invokes su(1M) in order to set up the user's environment and to provide a login environment. Console Mode If the -C option is specified, the user is connected to the zone console device and zlogin operates in console mode. The zone console is available once the zone is in the installed state. Connections to the console are persistent across reboot of the zone. OPTIONS
The following options are supported: -C Connects to the zone console. -e c Specifies a different escape character, c, for the key sequence used to access extended functions and to disconnect from the login. The default escape character is the tilde (~). -E Disables the ability to access extended functions or to disconnect from the login by using the escape sequence character. -l username Specifies a different username for the zone login. If you do not use this option, the zone username used is "root". This option is invalid if the -C option is specified. -S "Safe" login mode. zlogin does minimal processing and does not invoke login(1) or su(1M). The -S option can not be used if a username is specified through the -l option, and cannot be used with console logins. This mode should only be used to recover a damaged zone when other forms of login have become impossible. Escape Sequences Lines that you type that start with the tilde character (~) are "escape sequences". The escape character can be changed using the -e option. ~. Disconnects from the zone. This is not the same as a logout, because the local host breaks the connection with no warning to the zone's end. SECURITY
Once a process has been placed in a zone other than the global zone, the process cannot change zone again, nor can any of its children. OPERANDS
The following operands are supported: zonename The name of the zone to be entered. utility The utility to be run in the specified zone. argument... Arguments passed to the utility. EXIT STATUS
In interactive and non-interactive modes, the zlogin utility exits when the command or shell in the non-global zone exits. In non-interac- tive mode, the exit status of the remote program is returned as the exit status of zlogin. In interactive mode and console login mode, the exit status is not returned. zlogin returns a 0 exit status as long as no connection-related error occurred. In all modes, in the event that a connection to the zone cannot be established, the connection fails unexpectedly, or the user is lacking sufficient privilege to perform the requested operation, zlogin exits with status 1. To summarize, the following exit values are returned: 0 Successful entry. 1 Permission denied, or failure to enter the zone. Any Return code from utility, or from su(1M) if operating in non-interactive mode. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWzoneu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
login(1), vi(1), su(1M), zoneadm(1M), zonecfg(1M), attributes(5), zones(5) NOTES
zlogin fails if its open files or any portion of its address space corresponds to an NFS file. This includes the executable itself or the shared libraries. SunOS 5.10 14 May 2004 zlogin(1)
All times are GMT -4. The time now is 01:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy