>    Does anyone have a copy of a Shell Script with some FTP commands in
> it that they can share?
>
> FTP from UNIX to VM/CMS ID.

This one has the MAINT password, <maintPW>, and z/VM TCP/IP address,
<n.n.n.n>, in the script, so there's an obvious security issue to be aware
of:

# cat getMAINTfiles.sh
#!/bin/bash
ftp ftp://maint:<maintPW>@<n.n.n.n> < MAINT.FTPcommands

# cat MAINT.FTPcommands
ascii
get USER.DISKMAP
cd maint.2cc
get USER.DIRECT
cd maint.cf1
get SYSTEM.CONFIG
quit

In the latest Virtualization Cookbook, this was rewritten to use "vmcp
LINK MAINT 191 ...", etc. then the CMS file system so as to avoid the need
for the MAINT PW in a script. The added requirement for this path is that
the user ID issuing the command needs the LNKNOPAS directory option.

"Mike MacIsaac" <[EMAIL PROTECTED]>   (845) 433-7061

----------------------------------------------------------------------
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