Sponsored Content
Full Discussion: login to solaris zones
Top Forums UNIX for Dummies Questions & Answers login to solaris zones Post 302353565 by DukeNuke2 on Tuesday 15th of September 2009 03:47:03 PM
Old 09-15-2009
login from where? from the global zone or over network?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris Zones

okay people i need some help: i was able to configure zones on my solaris 10 server, the problem is I can't ssh into the zones!!! I can zlogin -C zone2 successfully for both zones. Am I missing something? I can ping the zones, but can't ssh. From the zones, I can ping my global server. (7 Replies)
Discussion started by: Sarccastik Dude
7 Replies

2. Solaris

Solaris zones

Hi All, I am getting zone error # /usr/sbin/zoneadm -z asflxpoc1 boot -s could not verify net address=169.185.246.229 physical=ce0: No such device or address could not verify net address=169.185.246.230 physical=ce0: No such device or address Any ideas for this error message. The... (13 Replies)
Discussion started by: jegaraman
13 Replies

3. Solaris

Regarding Solaris Zones

Hello All, I have a list of Local Zones in my list. I want to find out their Global Zone names exactly....I know the command "arp ..."But I dont know how to filter it correctly and find it out. Thanks in advance, Jacky (9 Replies)
Discussion started by: jegaraman
9 Replies

4. Solaris

Solaris Zones

I have a Solaris 10 box configured with a global zone and 3 non-global zones. All of the zones need to be configured so they can access and run an application in the global zone located at /export/home. How do i make this application and all of its accompanying files available to the 3 non-global... (3 Replies)
Discussion started by: goose25
3 Replies

5. Solaris

Solaris Zones

Hi Every, I would like to know some questions on Zones??? 1.what are types of zones we can install in global zone??? 2.Exact difference between sparce root and whole root??? 3.can we change the ip address of a running zone??? 4.how to find our in which zone we are running and how many... (8 Replies)
Discussion started by: tirupathiraju_t
8 Replies

6. Solaris

Solaris zones

Hi, I created a zone with separate /usr for the zone. when I do ping to newly created zone it showing alive, I am able to login through zone console zlogin -C -E <zone name> I created a test account on zone which is already existing under global zone and try to ssh, it is working fine but... (1 Reply)
Discussion started by: alberto
1 Replies

7. UNIX for Dummies Questions & Answers

Solaris Zones

Hi Guys, I haven't worked on solaris zones earlier. I have a query regarding the zones. We have MQ software installed on a solaris container. I am not sure on which zone this s/w is intalled. I have logged into this container via putty. When I search for the package, I got the package... (7 Replies)
Discussion started by: vandi
7 Replies

8. Solaris

Solaris Zones

Hi friends, Actually I faced problem in solaris zone. i was created 4 zones on my server. but one of them is not working ? so, where i wll get the error logs, and how to troubleshoot the problem. i have some kind of urgency. Please reply. (2 Replies)
Discussion started by: rajaramrnb
2 Replies

9. Solaris

Solaris zones

Hi guys and gals, Does anyone know how to import solaris zones from the xml files that sit in /etc/zones? I want the zones from one machine to another, all I have is the XML files for the zones, so I can't export them first. Thanks in advance Martin (1 Reply)
Discussion started by: callmebob
1 Replies

10. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 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 10:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy