On 3/31/06, Ranga Nathan <[EMAIL PROTECTED]> wrote:

> Agree. But there are situations when you have to operate in single user
> mode to fix problems. You have to log into the console. The z/VM
> environment allows the virtual machine to be stopped when the terminal
> session is interrupted - by mistake or due to the network dropping out.

You can use SCIF in an interactive mode, though it takes some
programming to make it work nicely. This quick & dirty program will
set SECUSER and allow you to work with the target userid almost like
if you were logged on to it. You can still get it into CP READ but not
because your terminal session was terminated.

/* LNXSEC   EXEC     Play secondary console for disconnected server  */
/*                   Author: Rob van der Heij, 20 Feb 2006           */
arg uid .
if uid = '' then exit 24
signal on error
signal on novalue

'PIPE (end \)',
   '\ console eof /*/ asynch',
   '| f: fanout',
   '| take last',
   '| g: gate',
   '\ f:',
   '| cp: if pick w1 == ,CP,',
   '| spec ,SEND CP' uid ', 1 w2-* nw',
   '| cp:',
   '| spec ,SEND' uid ', 1 1-* nw',
   '| cp:',
   '| cp',
   '\ starmsg SET SECUSER' uid '*',
   '| g:',
   '| locate 8 /8/ ',
   '| pick 9.8 == ,'left(uid,8)', ',
   '| not chop after string /: /',
   '| split 15',
   '| locate',
   '| chop',
   '| cons',

'SET SECUSER' uid 'RESET'

error: return rc


--
Rob van der Heij
Velocity Software, Inc

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to