ADSM-L

Re: dsmc via cmdline

2002-05-10 12:11:59
Subject: Re: dsmc via cmdline
From: Lisa Cabanas <CABANL AT MODOT DOT NET>
Date: Fri, 10 May 2002 11:13:12 -0500
You can do an

dsmcutil updatepw /node:node_name /passw:password

in the script to seed the password into the registry

is this what you are wanting?



                    Gerald
                    Wichmann             To:     ADSM-L AT VM.MARIST DOT EDU
                    <gwichman@ZANT       cc:
                    AZ.COM>              Subject:     Re: dsmc via cmdline
                    Sent by:
                    "ADSM: Dist
                    Stor Manager"
                    <ADSM-L AT VM DOT MAR
                    IST.EDU>


                    05/09/2002
                    05:10 PM
                    Please respond
                    to "ADSM: Dist
                    Stor Manager"






No..  normally when you first install the client on linux, even with
passwordaccess generate you must initially run dsmc and perform a query or
something such that it asks for your login and password. Once done, it
saves
the password in an encrypted file and won't ask you again in the future.

I'm trying to automate the install and start the dsmc process without
having
to have some user start it once to set the password. Isn't there a way to
run dsmc and specify the password from the commandline e.g. if you have a
ksh/perl script that calls dsmc in it such that you can specify the
password
as an argument to perform an operation?  E.g. I want a script to do a "dsmc
I" but I also don't want my client to be in passwordaccess generate mode.

With dsmadmc you can specify a login and password as argument (e.g.
"dsmadmc
-id=admin -pa=admin 'q stg'").. I want to do something similar with dsmc..
Regards,
Regards,

Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)

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