Storage Software
1752591 Members
3266 Online
108788 Solutions
New Discussion юеВ

Re: Urgent help needed: "sssu -a" in non-interactive mode on windows

 
yojana
Occasional Advisor

Urgent help needed: "sssu -a" in non-interactive mode on windows

Hi,

I want to execute the command "sssu -a" in non-interactive mode on windows. So I use I/O redirection as follows

I create an response file with required inputs
C:\HP>type test.txt
server
user
password

But when I pass it to the command, the "sssu -a" still prompts for password.
-----------
C:\HP>sssu_win_amd64.exe -a < test.txt


SSSU for HP StorageWorks Command View EVA
Version: 9.1.0
Build: 050509A

Manager:Username:Password:

---------

The command waits until I enter the password again. I want the command run without prompting for password(it should read password from file).

Can you please let me know how to achieve it?
I did not face this problem on Unix. Is this bug in SSSU on windows or feature? Urgent help appreciated.

2 REPLIES 2
Uwe Zessin
Honored Contributor

Re: Urgent help needed: "sssu -a" in non-interactive mode on windows

The '-a' option is used to (a)dd a username/password to an encrypted file so that you do not need to put the password in clear-text into scripts.

After you have set up a username/password combination with '-a' you run you scripts with that username, but leave off the password.
.
yojana
Occasional Advisor

Re: Urgent help needed: "sssu -a" in non-interactive mode on windows

I want to add username/password to sssu.pw programmatically using perl script. Hence using command (sssu -a < input)

this is related to my earlier post on similar topic
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1265965158309+28353475&threadId=1366919