An imperfect way is to have another file elsewhere contain the passwords,
and have your korn shell script read the file.
$pass=tail -1 /var/tmp/dsmaccess
$user=head -1 /var/tmp/dsmaccess
dsmadmc -id=$user -pa=$pass
> -----Original Message-----
> From: Ruth Robertson [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 16, 2000 3:58 PM
> To: [EMAIL PROTECTED]
> Subject: Include dsmadmc command in a Korn Script
>
> All:
> I'm new to the listserv, and ADSM, but not AIX.
> Question: how do I include a dsmadmc command (a select query) in one of my
> Korn shell scripts without advertising a name & password by including it
> in
> the script, i.e., "dsmadmc -id=xxxxxx -pa=xxxxxx select ...."?
> Thanks!
> Ruth Robertson
> [EMAIL PROTECTED]