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:     [EMAIL PROTECTED]
                    <gwichman@ZANT       cc:
                    AZ.COM>              Subject:     Re: dsmc via cmdline
                    Sent by:
                    "ADSM: Dist
                    Stor Manager"
                    <[EMAIL PROTECTED]
                    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,

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

-----Original Message-----
From: Malbrough, Demetrius [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 2:27 PM
To: [EMAIL PROTECTED]
Subject: Re: dsmc via cmdline

Gerald,

Are you speaking of having separate stanzas in the dsm.sys file with
different SErvername options?

dsmc -se=SERVER1

Regards,

Demetrius

-----Original Message-----
From: Gerald Wichmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 3:53 PM
To: [EMAIL PROTECTED]
Subject: dsmc via cmdline


If I have a client that is not in passwordaccess generate mode, how do I
run
dsmc from the command line and specify a login and password similar to
doing
it with dsmadmc:

dsmadmc -id=admin -pa=admin "q sess"

I'd like to do the same but with dsmc

dsmc ? ? "q sess"

if I remember correctly this can be done but I'm having trouble finding it
in the redbooks..

Gerald Wichmann
Sr. Systems Development Engineer
Zantaz, Inc.
925.598.3099 w
408.836.9062 c

Reply via email to