Terrific - thanks - that works great.
--------------------------------------------------------------------
Lionel B. Dyck, Systems Software Lead
Kaiser Permanente Information Technology
25 N. Via Monte Ave
Walnut Creek, Ca 94598

Phone:   (925) 926-5332 (tie line 8/473-5332)
E-Mail:    [EMAIL PROTECTED]
Sametime: (use Lotus Notes address)
AIM:        lbdyck



"Richard Feldman (WFF)" <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
05/06/2002 09:25 AM
Please respond to Linux on 390 Port


To
[EMAIL PROTECTED]
cc

bcc

Subject
Using Secuser and send to shutdown linux image???



To: LINUXLST--WFFCAL   Linux 390 Discussi

Subject: Using Secuser and send to shutdown linux image???

We simply use secuser and cp send:
/* Program to 'halt' linux machine prior to system shutdown */
'Pipe cms id() | specs w1 | var user'
'SET SECUSER LNXDNS01 'user
Address Command 'CP SEND LNXDNS01 ROOTID'
'SLEEP 5 SEC'
Address Command 'CP SEND LNXDNS01 ROOTPW'
'SLEEP 5 SEC'
Address Command 'CP SEND LNXDNS01 halt'
'SET SECUSER LNXDNS01 RESET'

The 'Set secuser' command needs priv A or C.
Use address command so the command is sent lower case.

Regards,

Richard Feldman
Systems Programmer, Technical Services
Kelly, Douglas / Westfair Foods  Ltd.
Ph:(403)291-6339 Fax:(403)291-6585 E-Mail:[EMAIL PROTECTED]
*** Forwarding note from EX009177--WFFCAL   05/06/02 09:34 ***
To: LINUXLST--WFFCAL   Linux 390 Discussi

From: Lionel Dyck (SMTP:[EMAIL PROTECTED])
Subject: Using Secuser and send to shutdown linux image???
I ran across secuser and send while reading this weekend and have tried to
create a rexx exec that I could use to automate the shutdown of a linux
image but I can't seem to get the login to work.  Has anyone an example of
doing something like this under z/vm that they would be willing to share?

thanks
--------------------------------------------------------------------
Lionel B. Dyck, Systems Software Lead
Kaiser Permanente Information Technology
25 N. Via Monte Ave
Walnut Creek, Ca 94598

Phone:   (925) 926-5332 (tie line 8/473-5332)
E-Mail:    [EMAIL PROTECTED]
Sametime: (use Lotus Notes address)
AIM:        lbdyck

Reply via email to