Hishaam wrote:
How to execute commands in internal zones of solaris using python
running from the global zone ?
i tried --
1 os.popen(zlogin zone1)
2 os.popen(zonename)
the 2nd command executes back into the global zone and not into the
internal zone
can anyone help?
Hishaam
Very probably
Hishaam wrote:
How to execute commands in internal zones of solaris using python
running from the global zone ?
i tried --
1 os.popen(zlogin zone1)
2 os.popen(zonename)
the 2nd command executes back into the global zone and not into the
internal zone
can anyone help?
Hmm, I was't
How to execute commands in internal zones of solaris using python
running from the global zone ?
i tried --
1 os.popen(zlogin zone1)
2 os.popen(zonename)
the 2nd command executes back into the global zone and not into the
internal zone
can anyone help?
Hishaam
--
You might try subprocess, first of all. Use it to launch zlogin and
then treat it like a shell and write 'zonename\n' to its stdin, to
simulate running it as a user. This is a good bet, but I don't have
either available to try it. The subprocess documentation covers
invoking a process and writing