ADSM-L

Re: Performing archives from a script

1999-01-06 11:29:17
Subject: Re: Performing archives from a script
From: Mathew Warren <MWarren AT TANDB.CO DOT UK>
Date: Wed, 6 Jan 1999 16:29:17 +0000
You can supply the password like so,

dsmc archive blahdeblah -pass=lahdedah

If you wish to keep the password secure but need to give people access to the 
scripts to update filesystems etc etc you can do something similar to

dsmc archive blahdeblah -pass=$(cat passwordfile)

passwordfile is a file containing one word, the password!

and make the scripts accessable to whoever needs to edit them, and the 
passwordfile accessable only to root. As ADSM runs as root everything should be 
hunky dory.

Matthew.

>>> Steven Bridge <ccaasub AT UCL.AC DOT UK> 01/05 11:24 am >>>
Using AIX 4.3.0, ADSM 3.1.2.0

I would like to perform an archive from a script ( ksh or perl ) but
I cannot see how to supply the password. Is there any way to do this
from a script ? I want to run this on the ADSM server itself - if this
makes any difference.

+----------------------------------------------------------------------+
 Steven Bridge     Systems Group, Information Systems, EISD
                          University College London
 email: s.bridge AT ucl.ac DOT uk                   tel: +44 171-504 2794


** IMPORTANT INFORMATION **
This message is intended only for the use of the person(s) ("the Intended 
Recipient")
to whom it is addressed. It may contain information which is privileged and 
confidential
within the meaning of applicable law. Accordingly any dissemination, 
distribution, copying
or other use of this message or any of its contents by any person other than 
the Intended
Recipient may constitute a breach of civil or criminal law and is strictly 
prohibited.

If you are not the Intended Recipient please contact the sender and dispose of 
this email
as soon as possible. If in doubt contact the Tibbett & Britten Group Network 
Administration
Department on 01707 391010 (UK).
<Prev in Thread] Current Thread [Next in Thread>