In our scripts os scripts we use the following:
cat /etc/adsm/adsm | read usr pw
then
dsmadmc -id=$usr -password=$pw q ses
the file /etc/adsm/adsm is protected from access for general users. Root
and one group that would know the password anyway are the only ones that can
read it.
That is how we do it.
--
Phillip Ford
Senior Software Specialist
Corporate Computer Center
Schering-Plough Corp.
(901) 320-4462
(901) 320-4856 FAX
[EMAIL PROTECTED]
-----Original Message-----
From: Lisa Faulconer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 9:31 AM
To: [EMAIL PROTECTED]
Subject: ADMIN Password Issues
We currently have our ADMIN id and password in several scripts. Our
scripts perform a number of functions from redirecting output from the act
log to a file (AIX) to issuing the DRM commands. The scripts are scheduled
with the *SM scheduler.
Macros would eliminate the need to have the id and password in a file but
macros can not be scheduled with the *SM scheduler.
Has anyone addressed this issue? Appreciate any suggestions.
Lisa