Mike "Ford" Ditto writes:
> Riny Qian wrote:
> > Darren J Moffat wrote:
> > > If you need help working out how to have a the vt? instances
> > > only active in the global zone then ask the smf-discuss list
> > > for help.
> > 
> > We can check if we're in the global zone in the smf start method
> > (console-login); if not, disable all virtual console instances.
> 
> I think the right thing here is not to check what zone you're in, but
> rather to check which devices are available.  I would like to assign,
> e.g. /dev/term/vt[456] each to different zones, which should cause the
> corresponding login instances to be disabled in the global zone and
> enabled in the corresponding zone(s).

Having a virtual console attached as a zone console sounds like a
nifty idea to me.  It doesn't sound as simple to achieve as just
logging into the global zone and doing zlogin -C, but potentially
useful.

-- 
James Carlson, KISS Network                    <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to