ADSM-L

Re: creating scripts running outside of TSM - password issue

2002-06-17 11:40:47
Subject: Re: creating scripts running outside of TSM - password issue
From: "Ford, Phillip" <phillip.ford AT SPCORP DOT COM>
Date: Mon, 17 Jun 2002 11:38:25 -0400
We do it by making a file that only root can read or appropriate group that
has the passwords in it.  We then do the following in our scripts:

cat /var/adsm/admin | read usr pw
dsmc -id=$usr -pass=$pw  .........

Now the passwords are not in the script and there is only one place to go to
change the password if needed.  This still leaves them exposed by the ps
command for the short time that the commands run.


--
Phillip Ford
Phillip Ford
Senior Software Specialist
Corporate Computer Center
Schering-Plough Corp.
(901) 320-4462
(901) 320-4856 FAX
phillip.ford AT spcorp DOT com





<Prev in Thread] Current Thread [Next in Thread>