Sponsored Content
Operating Systems Solaris Global Zone getting crontab info from zone Post 302998245 by jim mcnamara on Saturday 27th of May 2017 10:36:42 PM
Old 05-27-2017
First off, the root user if it is enabled as a user and not a role can see the directories of all the non-global zone, from the global zone. From the global zone the directory zones can have many names:
Code:
cd /path/to/zones   # probably /etc/zones but some installations use different naming.
cd  Zone_I_Want/root/path_to_root_crontab   # ./root  is the / directory in the non-global zone.

You can now treat the crontab file as if it was completely local, which it really is now.
From the Zone_I_Want/root directory the entire non-global zone and all mounted filesystems can be read/written. BE CAREFUL. Just read.

This will work only when the zone is up and running with all of its filesystems mounted. Unmounted zones only show a few directories off root/

Last edited by jim mcnamara; 05-27-2017 at 11:47 PM..
This User Gave Thanks to jim mcnamara For This Post:
 

9 More Discussions You Might Find Interesting

1. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

2. Solaris

Not able to ping global zone from local zone

Hi Gurus I am not able to ping the local zone from global zone when i am trying to ping i am getting below ICMP Host Unreachable from gateway zone ( 192.268.35.210) for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210) However i can ping local zone from global please... (12 Replies)
Discussion started by: kumarmani
12 Replies

3. Solaris

[b]How to mount a folder from global zone to non global zone??

Hi All There is one folder in global zone I just want to share the same folder innon global zone. How can i do it? pls send me script for this. (2 Replies)
Discussion started by: vijaysachin
2 Replies

4. Solaris

Covert Global zone to local zone

Dears, I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones. i found a document which seems to be helpful but i'm stuck @ the 1st step. to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Discussion started by: mduweik
1 Replies

5. Solaris

Mounting OpenSolaris Zone FS in Global Zone

Hi, We have had a hard drive failure on one of our sandbox OpenSolaris system. We had 2 solaris zones configured at /tank/zones/teamcity and /tank/zones/jira for respective products. The zpool (tank) was mirrored (2 drives). I'd like to mount the non-faulty drive in the global zone and... (4 Replies)
Discussion started by: sophie.cowell
4 Replies

6. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

7. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

8. Solaris

Scripting changes to multiple zone configurations in the same Global Zone

So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones. if I were to do this manually here's what I would do: zonecfg -z zone1 select... (2 Replies)
Discussion started by: os2mac
2 Replies

9. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
txzonemgr(1M)						  System Administration Commands					     txzonemgr(1M)

NAME
txzonemgr - Trusted Extensions Zone Manager Configuration Utility SYNOPSIS
/usr/sbin/txzonemgr DESCRIPTION
The txzonemgr shell script provides a simple, menu-based GUI wizard for creating, installing, initializing, and booting labeled zones on a system on which Trusted Extensions is enabled. The script also provides menu items for networking options, name services options, and mak- ing the global zone a client of an existing LDAP server. By default, all zones are configured to use the same name service and IP address as the global zone. txzonemgr is run by roles granted in the Zone Management Rights Profile, or by root in the global zone. It takes no options and returns no values. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Command Interface Stability | Committed | +-----------------------------+-----------------------------+ |Interactive Dialogue | Not an Interface | +-----------------------------+-----------------------------+ SEE ALSO
zenity(1), ifconfig(1M), zoneadm(1M), zonecfg(1M), attributes(5), rbac(5), zones(5) Solaris Trusted Extensions Administrator's Procedures NOTES
If administering zones from JDS, use txzonemgr rather than CDE actions. txzonemgr uses the zenity command. For details, see the zenity(1) man page. SunOS 5.11 17 Dec 2007 txzonemgr(1M)
All times are GMT -4. The time now is 09:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy